mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Fixed cyclic reference with chest tiles and DoubleChestInventory
This commit is contained in:
@ -139,4 +139,9 @@ class DoubleChestInventory extends ChestInventory implements InventoryHolder{
|
||||
public function getRightSide() : ChestInventory{
|
||||
return $this->right;
|
||||
}
|
||||
|
||||
public function invalidate(){
|
||||
$this->left = null;
|
||||
$this->right = null;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user