116117118119120121122
pingHash[lastRequestCount] = hash; lastRequestCount++; if (lastRequestCount >= pingTime.length) { lastRequestCount = 0; } player.getNetwork().callProtocolEvent(new PingEvent(hash)); }
43444546474849
} } @Override public void handleClient(ClientSession session, PlayerPingMessage message) { session.getPlayer().getNetwork().callProtocolEvent(new PingEvent(message.getPingId()), session.getPlayer()); }