mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 10:53:05 +00:00
Further cleanup to general AABB handling
This commit is contained in:
@ -79,8 +79,7 @@ class Ladder extends Transparent{
|
||||
}
|
||||
|
||||
protected function recalculateBoundingBox() : ?AxisAlignedBB{
|
||||
$bb = new AxisAlignedBB(0, 0, 0, 1, 1, 1);
|
||||
return $bb->trim($this->facing, 13 / 16);
|
||||
return AxisAlignedBB::one()->trim($this->facing, 13 / 16);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user