mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Possible fix for #1661
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user