diff --git a/proxy/src/main/java/com/velocitypowered/proxy/connection/client/ClientPlaySessionHandler.java b/proxy/src/main/java/com/velocitypowered/proxy/connection/client/ClientPlaySessionHandler.java index 8c21ba3a4..2b01a3e27 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/connection/client/ClientPlaySessionHandler.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/connection/client/ClientPlaySessionHandler.java @@ -127,7 +127,10 @@ public class ClientPlaySessionHandler implements MinecraftSessionHandler { } @SuppressWarnings("BooleanMethodIsAlwaysInverted") - private boolean updateTimeKeeper(Instant instant) { + private boolean updateTimeKeeper(@Nullable Instant instant) { + if (instant == null) { + return true; + } if (!this.timeKeeper.update(instant)) { player.disconnect(Component.translatable("multiplayer.disconnect.out_of_order_chat")); return false;