geforkt von Mirrors/Velocity
Make sure to always forward on keep-alives from the client
Dieser Commit ist enthalten in:
Ursprung
30baee84bd
Commit
f8a3f24d6b
@ -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) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren