mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Further cleanup to general AABB handling
This commit is contained in:
@ -40,7 +40,7 @@ class Carpet extends Flowable{
|
||||
}
|
||||
|
||||
protected function recalculateBoundingBox() : ?AxisAlignedBB{
|
||||
return new AxisAlignedBB(0, 0, 0, 1, 0.0625, 1);
|
||||
return AxisAlignedBB::one()->trim(Facing::UP, 15 / 16);
|
||||
}
|
||||
|
||||
public function place(Item $item, Block $blockReplace, Block $blockClicked, int $face, Vector3 $clickVector, Player $player = null) : bool{
|
||||
|
Reference in New Issue
Block a user