Added roundtrip time measurement.

This commit is contained in:
ProfMobius committed 2014-04-09 16:02:51 +02:00
1 parent 37e6c46d80
commit ebf663695c
7 files changed
+50 -5

No files matched your search

@@ -212,6 +212,10 @@ public class ServerMessageHandler {
ChunkManager.INSTANCE.purgeChunks(((SerialInt)param1).value);
}
else if(maintype == Message.STATUS_PING){
OpisPacketHandler.validateAndSend(NetDataValue.create(Message.STATUS_PING, param1), (Player)player);
}
else{
modOpis.log.log(Level.WARNING, String.format("Unknown data request : %s ", maintype));
}