diff --git a/src/pocketmine/block/Trapdoor.php b/src/pocketmine/block/Trapdoor.php index c3b8f8a70..434b3264b 100644 --- a/src/pocketmine/block/Trapdoor.php +++ b/src/pocketmine/block/Trapdoor.php @@ -146,11 +146,11 @@ class Trapdoor extends Transparent{ public function onActivate(Item $item, Player $player = null){ $this->meta ^= 0x04; $this->getLevel()->setBlock($this, $this, true); - + $this->level->addSound(new DoorSound($this)); return true; } public function getToolType(){ return Tool::TYPE_AXE; } -} \ No newline at end of file +}