mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 04:29:43 +00:00
fixed a bug that caused to send extremely long packets
This commit is contained in:
parent
b4e87b017d
commit
78d2b95b9a
1 changed files with 1 additions and 1 deletions
|
|
@ -1190,7 +1190,7 @@ class Player{
|
||||||
$packet->messageIndex = $this->counter[3]++;
|
$packet->messageIndex = $this->counter[3]++;
|
||||||
$packet->reliability = 2;
|
$packet->reliability = 2;
|
||||||
@$this->blockUpdateQueue->data[] = $packet;
|
@$this->blockUpdateQueue->data[] = $packet;
|
||||||
$this->blockUpdateQueueLength = 6 + $len;
|
$this->blockUpdateQueueLength += 6 + $len;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function addEntityMovementUpdateToQueue(Entity $e){
|
public function addEntityMovementUpdateToQueue(Entity $e){
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue