From f8b4b26a040bbfb43b49082a73c79fc9066ae812 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 15 Mar 2022 20:48:38 +0100 Subject: [PATCH] debug --- serverCommunication/web.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/serverCommunication/web.go b/serverCommunication/web.go index 63d1b27..b1188fc 100644 --- a/serverCommunication/web.go +++ b/serverCommunication/web.go @@ -31,7 +31,7 @@ func HandleWebMessage(isVoice bool, conn *websocket.Conn, uuid string, msg []byt if status == kraProtocol.StatusReply { if isVoice { - logger.WebVoice.Debugln("Reply from Web Voice") + logger.WebVoice.Debugln("Reply from Web Voice", webClient.VoiceCmdIDsByBackend) for _, data := range webClient.VoiceCmdIDsByBackend { if data.WebCmdID == cmdID { // forward to target dest mcClient := GetMinecraftClientByName(getMinecraftServerNameByDest(data.DestFromMinecraftServer)) @@ -60,7 +60,7 @@ func HandleWebMessage(isVoice bool, conn *websocket.Conn, uuid string, msg []byt webClient.RemoveVoiceCmdID(cmdID) } } else { - logger.WebMobile.Debugln("Reply from Web Mobile") + logger.WebMobile.Debugln("Reply from Web Mobile", webClient.MobileCmdIDsByBackend) for _, data := range webClient.MobileCmdIDsByBackend { if data.WebCmdID == cmdID { // forward to target dest mcClient := GetMinecraftClientByName(getMinecraftServerNameByDest(data.DestFromMinecraftServer))