From 43d3987744c69248bba946ad9abfb1373d8de3f9 Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 31 Jan 2022 19:28:53 +0100 Subject: [PATCH] ensure that messages are received through ack --- serverCommunication/serverCommunication.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serverCommunication/serverCommunication.go b/serverCommunication/serverCommunication.go index c0270cd..1ef137b 100644 --- a/serverCommunication/serverCommunication.go +++ b/serverCommunication/serverCommunication.go @@ -43,7 +43,7 @@ func AckHandler() { for _, msg := range mcClient.SendQueueMessages { logger.Minecraft.Println("msg", msg) - if msg.TrySendCount < 5 { + if msg.TrySendCount < 4 { msg.TrySendCount++ }