mirror of
https://github.com/Minestom/Minestom.git
synced 2025-02-05 23:11:36 +01:00
Prevent the override updateTouchBoundingBox ignoring force.
This commit is contained in:
parent
b304dd53ae
commit
c260849cc8
@ -643,6 +643,9 @@ public class Entity implements Viewable, Tickable, Schedulable, Snapshotable, Ev
|
||||
// Kind of annoying... they are changing isFastTouch to be true sometimes.
|
||||
if (touchBoundingBox == null) {
|
||||
updateTouchBoundingBox(true);
|
||||
|
||||
// Evil is among us.
|
||||
Check.notNull(this.touchBoundingBox, "Touch bounding box is null after force update");
|
||||
}
|
||||
|
||||
final BoundingBox.PointIterator pointIterator = touchBoundingBox.getBlocks(position);
|
||||
|
Loading…
Reference in New Issue
Block a user