From 650898170a6955d4919f826ae61b747a0e249634 Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 1 Jan 2022 13:03:17 +0100 Subject: [PATCH] reply handling --- serverCommunication/minecraft.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/serverCommunication/minecraft.go b/serverCommunication/minecraft.go index 75fc471..9f1202b 100644 --- a/serverCommunication/minecraft.go +++ b/serverCommunication/minecraft.go @@ -80,6 +80,8 @@ func HandleMinecraftMessage(conn *websocket.Conn, msg []byte) { webCmdID := structs.GenerateWebCmdID(webClient.CurrentCmdIDIndexByBackend) + webClient.CurrentCmdIDIndexByBackend = webCmdID + logger.Minecraft.Debugln("webCmdID", webCmdID) a := &structs.A{WebCmdID: webCmdID, CmdIDFromMinecraftServer: cmdID, DestFromMinecraftServer: 10}