mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39: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){
|
||||
$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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue