Fixed some saving

This commit is contained in:
Shoghi Cervantes 2015-06-05 16:46:53 +02:00
parent fe55023761
commit 7bafa217c8

View File

@ -46,7 +46,7 @@ class Furnace extends Tile implements InventoryHolder, Container{
$this->inventory = new FurnaceInventory($this);
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);
}