Decreased max safe point tries for flight pathing, and added limit to pathfinding while loop.

This commit is contained in:
Luis C.M committed 2022-11-10 01:18:25 -06:00
1 parent 554bcac4d3
commit 83db114a0d
1 file changed
+1 -1
@@ -220,7 +220,7 @@ public abstract class EntityNPCInterface extends EntityCreature implements IEnti
public int getMaxSafePointTries()
{
return 3;
return canFly() ? 2 : super.getMaxSafePointTries();
}
@Override