AMD User — Сегодня, в 6:50
Просто вынеси в верх тика Итерацию
This commit is contained in:
parent
65b328a577
commit
72b1b5550d
@ -1101,6 +1101,11 @@ class MatteryPlayer(val ply: Player) {
|
|||||||
|
|
||||||
if (NeoForge.EVENT_BUS.post(PreTick(this)).isCanceled) return
|
if (NeoForge.EVENT_BUS.post(PreTick(this)).isCanceled) return
|
||||||
|
|
||||||
|
if (shouldSendIteration) {
|
||||||
|
sendNetwork(PlayerIterationPacket(iteration, deathLog))
|
||||||
|
shouldSendIteration = false
|
||||||
|
}
|
||||||
|
|
||||||
ticksIExist++
|
ticksIExist++
|
||||||
|
|
||||||
tickList.tick()
|
tickList.tick()
|
||||||
@ -1341,11 +1346,6 @@ class MatteryPlayer(val ply: Player) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (shouldSendIteration) {
|
|
||||||
sendNetwork(PlayerIterationPacket(iteration, deathLog))
|
|
||||||
shouldSendIteration = false
|
|
||||||
}
|
|
||||||
|
|
||||||
if (hasExopack && ply.containerMenu == ply.inventoryMenu) {
|
if (hasExopack && ply.containerMenu == ply.inventoryMenu) {
|
||||||
exoPackMenu.broadcastChanges()
|
exoPackMenu.broadcastChanges()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user