ensure that messages are received through ack

master
Alex 2022-01-31 20:38:06 +01:00
parent cc0cccdc3e
commit bffbe78cfa
1 changed files with 4 additions and 4 deletions

View File

@ -54,13 +54,13 @@ func AckHandler() {
if err != nil {
logger.Minecraft.Println("ackHandler err sending msg", err)
}
if msg.TrySendCount < 4 {
msg.TrySendCount++
}
} else {
logger.Minecraft.Println("ok here")
}
if msg.TrySendCount < 4 {
msg.TrySendCount++
}
}
}
}