Fix expanded bounding box (#1020)

This commit is contained in:
iam 2022-05-05 07:42:07 -04:00 committed by GitHub
parent c009ef0505
commit cef824bc16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
/**