mirror of
https://github.com/GTNewHorizons/Opis.git
synced 2026-11-27 23:46:00 +00:00
Added roundtrip time measurement.
This commit is contained in:
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));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user