Send end tick packet

This commit is contained in:
Camotoy 2024-11-03 13:17:59 -05:00
parent ecc5e8c175
commit ee4047b529
No known key found for this signature in database
GPG key ID: 7EEFB66FE798081F

View file

@ -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();
}