From 4869887ec0b472677927193a5d63663bedc7b0fa Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 28 Dec 2021 20:52:48 +0100 Subject: [PATCH] debug msg --- serverCommunication/web.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/serverCommunication/web.go b/serverCommunication/web.go index 3f69f32..434f08e 100644 --- a/serverCommunication/web.go +++ b/serverCommunication/web.go @@ -21,6 +21,7 @@ func HandleWebMessage(isVoice bool, conn *websocket.Conn, uuid string, status in var raw []byte var client *structs.WebClient + // TODO: handle other dests if status == kraProtocol.StatusGet { client = getWebClientByConn(conn) @@ -74,6 +75,8 @@ func HandleWebMessage(isVoice bool, conn *websocket.Conn, uuid string, status in raw = kraProtocol.SendMessageToJava(status, cmdID, dest, uuid, cmdNumber, args) + logger.Minecraft.Debugln("forwarding", client.Uuid, connForDest) + err = client.SendBinaryMessage(connForDest, raw) if err != nil {