mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Remove hack to break cyclic dependency on double chests
Since these now reference positions instead of tiles, the cyclic dependency is removed.
This commit is contained in:
@ -100,9 +100,4 @@ 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