mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-11-27 01:06:39 +01:00
Send end tick packet
This commit is contained in:
parent
ecc5e8c175
commit
ee4047b529
1 changed files with 6 additions and 0 deletions
|
@ -1312,6 +1312,12 @@ public class GeyserSession implements GeyserConnection, GeyserCommandSource {
|
|||
armAnimationTicks = -1;
|
||||
}
|
||||
}
|
||||
|
||||
if (spawned) {
|
||||
// Could move this to the PlayerAuthInput translator, in the event the player lags
|
||||
// but this will work once we implement matching Java custom tick cycles
|
||||
sendDownstreamGamePacket(ServerboundClientTickEndPacket.INSTANCE);
|
||||
}
|
||||
} catch (Throwable throwable) {
|
||||
throwable.printStackTrace();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue