forked from MagicBane/Server
shape
This commit is contained in:
@@ -1350,7 +1350,7 @@ public class MobAI {
|
||||
return;
|
||||
}
|
||||
if(!mob.isPathing){
|
||||
ArrayList<PathingUtilities.Node> path = PathingUtilities.getPath(mob.loc,mob.destination);
|
||||
ArrayList<PathingUtilities.Node> path = PathingUtilities.getPath(mob, mob.loc,mob.destination);
|
||||
if(path != null && path.size() > 0)
|
||||
PathingUtilities.followPath(mob,path);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user