Don't send tile inventory slots during the constructor

This is completely pointless and a waste of time.
This commit is contained in:
Dylan K. Taylor 2017-09-20 10:15:28 +01:00
parent 38e11aae5e
commit 85b2b2ae2e
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ class Chest extends Spawnable implements InventoryHolder, Container, Nameable{
} }
for($i = 0; $i < $this->getSize(); ++$i){ for($i = 0; $i < $this->getSize(); ++$i){
$this->inventory->setItem($i, $this->getItem($i)); $this->inventory->setItem($i, $this->getItem($i), false);
} }
} }

View File

@ -65,7 +65,7 @@ class Furnace extends Spawnable implements InventoryHolder, Container, Nameable{
} }
for($i = 0; $i < $this->getSize(); ++$i){ for($i = 0; $i < $this->getSize(); ++$i){
$this->inventory->setItem($i, $this->getItem($i)); $this->inventory->setItem($i, $this->getItem($i), false);
} }
if($this->namedtag->BurnTime->getValue() > 0){ if($this->namedtag->BurnTime->getValue() > 0){