Make sure to always forward on keep-alives from the client
This commit is contained in:
@@ -61,6 +61,8 @@ public class ClientPlaySessionHandler implements MinecraftSessionHandler {
|
|||||||
}
|
}
|
||||||
player.setPing(System.currentTimeMillis() - lastPingSent);
|
player.setPing(System.currentTimeMillis() - lastPingSent);
|
||||||
resetPingData();
|
resetPingData();
|
||||||
|
player.getConnectedServer().getMinecraftConnection().write(packet);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (packet instanceof ClientSettings) {
|
if (packet instanceof ClientSettings) {
|
||||||
|
Reference in New Issue
Block a user