forked from MagicBane/Server
hull 7
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user