From 05ad5ea7be29d4437b79784da53147566e431e7a Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 29 Dec 2021 12:16:49 +0100 Subject: [PATCH] changed connection to conn --- serverCommunication/serverCommunication.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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