Possible fix for #1661

This commit is contained in:
Shoghi Cervantes
2014-10-05 16:32:15 +02:00
parent 5e03e157ad
commit 6b65b68ebc
7 changed files with 24 additions and 39 deletions

View File

@ -43,7 +43,7 @@ class Chest extends Spawnable implements InventoryHolder, Container{
protected $doubleInventory = null;
public function __construct(FullChunk $chunk, Compound $nbt){
$nbt["id"] = Tile::CHEST;
$nbt->id = new String("id", Tile::CHEST);
parent::__construct($chunk, $nbt);
$this->inventory = new ChestInventory($this);