mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-23 00:55:57 +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:
parent
38e11aae5e
commit
85b2b2ae2e
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -65,7 +65,7 @@ class Furnace 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);
|
||||
}
|
||||
|
||||
if($this->namedtag->BurnTime->getValue() > 0){
|
||||
|
Loading…
x
Reference in New Issue
Block a user