diff --git a/src/pocketmine/block/Door.php b/src/pocketmine/block/Door.php index e5acf3708..be43b8ae4 100644 --- a/src/pocketmine/block/Door.php +++ b/src/pocketmine/block/Door.php @@ -127,7 +127,7 @@ abstract class Door extends Transparent{ return false; } - $ccw = Bearing::toFacing($player instanceof Player ? Bearing::rotate($player->getDirection(), -1) : Facing::EAST); + $ccw = Bearing::toFacing($player instanceof Player ? Bearing::rotate($player->getDirection(), -1) : Bearing::EAST); $next = $this->getSide(Facing::opposite($ccw)); $next2 = $this->getSide($ccw);