diff --git a/serverCommunication/web.go b/serverCommunication/web.go index aa39558..d093912 100644 --- a/serverCommunication/web.go +++ b/serverCommunication/web.go @@ -56,7 +56,7 @@ func HandleWebMessage(isVoice bool, conn *websocket.Conn, uuid string, msg []byt webClient.RemoveVoiceCMDIDsByBackend(cmdID) // remove cmdID from minecraftCmdIDs - mcClient.RemoveCmdID(cmdID) + mcClient.RemoveCmdID(data.CmdIDFromMinecraftServer) return } }