fixed ping displaying incorrect ping

This commit is contained in:
GameHerobrine 2025-06-27 02:37:34 +03:00
parent 52b09f1cf7
commit 1ea54bc95b

View file

@ -1533,6 +1533,7 @@ class Player{
if($this->entityDataQueueLength > 0 && $this->entityDataQueue instanceof RakNetPacket){
$this->entityDataQueue->seqNumber = $this->counter[0]++;
$this->packetAlwaysRecoverQueue[$this->entityDataQueue->seqNumber] = $this->entityDataQueue;
$this->entityDataQueue->sendtime = microtime(true);
$this->send($this->entityDataQueue);
}
$this->entityDataQueueLength = 0;