Make sure to always forward on keep-alives from the client

This commit is contained in:
Andrew Steinborn 2018-09-07 16:35:36 -04:00
parent 30baee84bd
commit f8a3f24d6b

View File

@ -61,6 +61,8 @@ public class ClientPlaySessionHandler implements MinecraftSessionHandler {
}
player.setPing(System.currentTimeMillis() - lastPingSent);
resetPingData();
player.getConnectedServer().getMinecraftConnection().write(packet);
return;
}
if (packet instanceof ClientSettings) {