Fixed compatability issue in the Specter AI
This commit is contained in:
parent
a3c69798f3
commit
7fefea3243
|
@ -88,7 +88,7 @@ public class EntityAIRetreatToHeal<T extends Entity> extends EntityAIBase
|
|||
} else
|
||||
{
|
||||
this.entityPathEntity = this.entityPathNavigate.getPathToXYZ(vec3d.xCoord, vec3d.yCoord, vec3d.zCoord);
|
||||
return this.entityPathEntity == null ? false : this.entityPathEntity.isDestinationSame(vec3d);
|
||||
return this.entityPathEntity != null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue