This commit is contained in:
2023-12-03 10:29:54 -06:00
parent 87125ed45d
commit ab1b7db86c
2 changed files with 8 additions and 8 deletions
+6 -6
View File
@@ -308,7 +308,7 @@ public class MobAI {
aiMove(mob, true,0);
} catch (Exception e) {
Logger.info(mob.getObjectUUID() + " " + mob.getName() + " Failed At: AttackTarget" + " " + e.getMessage());
Logger.info(mob.getObjectUUID() + " " + mob.getName() + " Failed At: Patrol" + " " + e.getMessage());
}
}
@@ -1349,11 +1349,11 @@ public class MobAI {
if(mob.isMoving()) {
return;
}
if(!mob.isPathing){
ArrayList<PathingUtilities.Node> path = PathingUtilities.getPath(mob, mob.destination);
if(path != null && path.size() > 0)
PathingUtilities.followPath(mob,path);
}
//if(!mob.isPathing){
// ArrayList<PathingUtilities.Node> path = PathingUtilities.getPath(mob, mob.destination);
// if(path != null && path.size() > 0)
// PathingUtilities.followPath(mob,path);
//}
}
public static void directMove(AbstractCharacter mob,boolean isWalking){