diff --git a/src/pocketmine/block/FenceGate.php b/src/pocketmine/block/FenceGate.php index 582ddc92c..7c0e0f8ea 100644 --- a/src/pocketmine/block/FenceGate.php +++ b/src/pocketmine/block/FenceGate.php @@ -107,7 +107,7 @@ class FenceGate extends Transparent{ ]; $this->meta = ($faces[$player instanceof Player ? $player->getDirection() : 0] & 0x03) | ((~$this->meta) & 0x04); $this->getLevel()->setBlock($this, $this, true); - + $this->level->addSound(new DoorSound($this)); return true; } -} \ No newline at end of file +}