fixed entity data packets not being added into always recover queue

This commit is contained in:
GameHerobrine 2025-06-27 02:21:15 +03:00
parent 30eae88ebb
commit 52b09f1cf7

View file

@ -1532,6 +1532,7 @@ class Player{
public function sendEntityMovementUpdateQueue(){
if($this->entityDataQueueLength > 0 && $this->entityDataQueue instanceof RakNetPacket){
$this->entityDataQueue->seqNumber = $this->counter[0]++;
$this->packetAlwaysRecoverQueue[$this->entityDataQueue->seqNumber] = $this->entityDataQueue;
$this->send($this->entityDataQueue);
}
$this->entityDataQueueLength = 0;