ensure that messages are received through ack
parent
1714f0da50
commit
43d3987744
|
@ -43,7 +43,7 @@ func AckHandler() {
|
||||||
for _, msg := range mcClient.SendQueueMessages {
|
for _, msg := range mcClient.SendQueueMessages {
|
||||||
logger.Minecraft.Println("msg", msg)
|
logger.Minecraft.Println("msg", msg)
|
||||||
|
|
||||||
if msg.TrySendCount < 5 {
|
if msg.TrySendCount < 4 {
|
||||||
msg.TrySendCount++
|
msg.TrySendCount++
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue