mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 04:29:43 +00:00
fixed ping displaying incorrect ping
This commit is contained in:
parent
52b09f1cf7
commit
1ea54bc95b
1 changed files with 1 additions and 0 deletions
|
|
@ -1533,6 +1533,7 @@ class Player{
|
||||||
if($this->entityDataQueueLength > 0 && $this->entityDataQueue instanceof RakNetPacket){
|
if($this->entityDataQueueLength > 0 && $this->entityDataQueue instanceof RakNetPacket){
|
||||||
$this->entityDataQueue->seqNumber = $this->counter[0]++;
|
$this->entityDataQueue->seqNumber = $this->counter[0]++;
|
||||||
$this->packetAlwaysRecoverQueue[$this->entityDataQueue->seqNumber] = $this->entityDataQueue;
|
$this->packetAlwaysRecoverQueue[$this->entityDataQueue->seqNumber] = $this->entityDataQueue;
|
||||||
|
$this->entityDataQueue->sendtime = microtime(true);
|
||||||
$this->send($this->entityDataQueue);
|
$this->send($this->entityDataQueue);
|
||||||
}
|
}
|
||||||
$this->entityDataQueueLength = 0;
|
$this->entityDataQueueLength = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue