diff --git a/serverCommunication/serverCommunication.go b/serverCommunication/serverCommunication.go index e227620..a5c7057 100644 --- a/serverCommunication/serverCommunication.go +++ b/serverCommunication/serverCommunication.go @@ -13,9 +13,9 @@ func getConnForDest(dest int, uuid string) *websocket.Conn { case kraProtocol.DestMobile: return GetWebClientByUuid(uuid).MobileConn case kraProtocol.DestProxy: - return GetMinecraftClientByName("proxy-1").Connection + return GetMinecraftClientByName("proxy-1").Conn case kraProtocol.DestPlayersCurrentServer: - return GetMinecraftClientByName("lobby-1").Connection + return GetMinecraftClientByName("lobby-1").Conn default: logger.Web.Println("conn for dest is nil") return nil