This commit is contained in:
2023-11-14 22:49:58 -06:00
parent d482265994
commit c4446736a6
3 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -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);
}