mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Don't send tile inventory slots during the constructor
This is completely pointless and a waste of time.
This commit is contained in:
@ -53,7 +53,7 @@ class Chest extends Spawnable implements InventoryHolder, Container, Nameable{
|
||||
}
|
||||
|
||||
for($i = 0; $i < $this->getSize(); ++$i){
|
||||
$this->inventory->setItem($i, $this->getItem($i));
|
||||
$this->inventory->setItem($i, $this->getItem($i), false);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user