mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-04 07:28:19 +01:00
Fix expanded bounding box (#1020)
This commit is contained in:
parent
c009ef0505
commit
cef824bc16
@ -524,7 +524,7 @@ public class LivingEntity extends Entity implements EquipmentHandler {
|
||||
@Override
|
||||
public void setBoundingBox(BoundingBox boundingBox) {
|
||||
super.setBoundingBox(boundingBox);
|
||||
this.expandedBoundingBox = getBoundingBox().expand(1, 0.5f, 1);
|
||||
this.expandedBoundingBox = boundingBox.expand(1, 0.5f, 1);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user