Fixed compatability issue in the Specter AI

This commit is contained in:
WayofTime 2016-08-19 22:02:01 -04:00
parent a3c69798f3
commit 7fefea3243

View file

@ -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;
}
}
}