ensure that messages are received through ack
parent
cc0cccdc3e
commit
bffbe78cfa
|
@ -54,13 +54,13 @@ func AckHandler() {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logger.Minecraft.Println("ackHandler err sending msg", err)
|
logger.Minecraft.Println("ackHandler err sending msg", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if msg.TrySendCount < 4 {
|
||||||
|
msg.TrySendCount++
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
logger.Minecraft.Println("ok here")
|
logger.Minecraft.Println("ok here")
|
||||||
}
|
}
|
||||||
|
|
||||||
if msg.TrySendCount < 4 {
|
|
||||||
msg.TrySendCount++
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue