Proper recipe matching from network, bumped protocol, build 11, fixed entities not being killed on void (closes #3021), fixes achievement acquireIron not being possible (fixes #2600)

This commit is contained in:
Shoghi Cervantes
2015-05-15 13:59:19 +02:00
parent e61db8ad06
commit 76e6ccebd5
7 changed files with 179 additions and 73 deletions

View File

@ -79,7 +79,7 @@ class Furnace extends Tile implements InventoryHolder, Container{
}
public function saveNBT(){
$this->namedtag->Items = new Enum("Inventory", []);
$this->namedtag->Items = new Enum("Items", []);
$this->namedtag->Items->setTagType(NBT::TAG_Compound);
for($index = 0; $index < $this->getSize(); ++$index){
$this->setItem($index, $this->inventory->getItem($index));