Skip to content

Commit 39aea73

Browse files
committed
Fix filch lizard AI bounding box check
1 parent b58dd23 commit 39aea73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/drzhark/mocreatures/entity/passive/MoCEntityFilchLizard.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ public boolean shouldExecute() {
288288
if (!this.temptedEntity.getHeldItemMainhand().isEmpty()) {
289289
return false;
290290
}
291-
List<Entity> list = this.temptedEntity.getEntityWorld().getEntitiesWithinAABBExcludingEntity(temptedEntity, temptedEntity.getEntityBoundingBox().expand(6D, 4D, 6D));
291+
List<Entity> list = this.temptedEntity.getEntityWorld().getEntitiesWithinAABBExcludingEntity(temptedEntity, temptedEntity.getEntityBoundingBox().grow(6D, 4D, 6D));
292292
if (this.stealDelay > 0) {
293293
--this.stealDelay;
294294
if (stealDelay == 0) {

0 commit comments

Comments
 (0)