mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-12-28 07:20:28 +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