mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-17 19:28:55 +00:00
Fixed some saving
This commit is contained in:
parent
fe55023761
commit
7bafa217c8
@ -46,7 +46,7 @@ class Furnace extends Tile implements InventoryHolder, Container{
|
|||||||
$this->inventory = new FurnaceInventory($this);
|
$this->inventory = new FurnaceInventory($this);
|
||||||
|
|
||||||
if(!isset($this->namedtag->Items) or !($this->namedtag->Items instanceof Enum)){
|
if(!isset($this->namedtag->Items) or !($this->namedtag->Items instanceof Enum)){
|
||||||
$this->namedtag->Items = new Enum("Inventory", []);
|
$this->namedtag->Items = new Enum("Items", []);
|
||||||
$this->namedtag->Items->setTagType(NBT::TAG_Compound);
|
$this->namedtag->Items->setTagType(NBT::TAG_Compound);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user