diff --git a/src/pocketmine/block/Chest.php b/src/pocketmine/block/Chest.php index fee491a747..edd1077ae4 100644 --- a/src/pocketmine/block/Chest.php +++ b/src/pocketmine/block/Chest.php @@ -101,16 +101,6 @@ class Chest extends Transparent{ return true; } - public function onBreak(Item $item, Player $player = null) : bool{ - $t = $this->getLevel()->getTile($this); - if($t instanceof TileChest){ - $t->unpair(); - } - $this->getLevel()->setBlock($this, BlockFactory::get(Block::AIR), true, true); - - return true; - } - public function onActivate(Item $item, Player $player = null) : bool{ if($player instanceof Player){