mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
fixed division by zero when breaking tnt, (hopefully?) fixed empty chests
This commit is contained in:
parent
6c7bcf014b
commit
a62986a8d6
3 changed files with 7 additions and 5 deletions
|
|
@ -1696,7 +1696,6 @@ class Player{
|
|||
$len = 1 + strlen($pk->buffer);
|
||||
$MTU = $this->MTU - 24;
|
||||
if($len > $MTU) return $this->blockQueueDataPacket_big($pk);
|
||||
|
||||
if(($this->blockUpdateQueueLength + $len) >= $MTU){
|
||||
$this->sendBlockUpdateQueue();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue