mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 18:57:32 +00:00
Decreased max safe point tries for flight pathing, and added limit to pathfinding while loop.
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user