changed connection to conn

master
Alex 2021-12-29 12:16:49 +01:00
parent 64488ca532
commit 05ad5ea7be
1 changed files with 2 additions and 2 deletions

View File

@ -13,9 +13,9 @@ func getConnForDest(dest int, uuid string) *websocket.Conn {
case kraProtocol.DestMobile: case kraProtocol.DestMobile:
return GetWebClientByUuid(uuid).MobileConn return GetWebClientByUuid(uuid).MobileConn
case kraProtocol.DestProxy: case kraProtocol.DestProxy:
return GetMinecraftClientByName("proxy-1").Connection return GetMinecraftClientByName("proxy-1").Conn
case kraProtocol.DestPlayersCurrentServer: case kraProtocol.DestPlayersCurrentServer:
return GetMinecraftClientByName("lobby-1").Connection return GetMinecraftClientByName("lobby-1").Conn
default: default:
logger.Web.Println("conn for dest is nil") logger.Web.Println("conn for dest is nil")
return nil return nil