mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
Further cleanup to general AABB handling
This commit is contained in:
@ -80,7 +80,7 @@ class Bed extends Transparent{
|
||||
}
|
||||
|
||||
protected function recalculateBoundingBox() : ?AxisAlignedBB{
|
||||
return new AxisAlignedBB(0, 0, 0, 1, 0.5625, 1);
|
||||
return AxisAlignedBB::one()->trim(Facing::UP, 7 / 16);
|
||||
}
|
||||
|
||||
public function isHeadPart() : bool{
|
||||
|
Reference in New Issue
Block a user