mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-07 17:08:30 +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
|
@Override
|
||||||
public void setBoundingBox(BoundingBox boundingBox) {
|
public void setBoundingBox(BoundingBox boundingBox) {
|
||||||
super.setBoundingBox(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