Browse Source

mobs update location after moving to patrol point index

master
FatBoy-DOTC 2 years ago
parent
commit
f94e66bf74
  1. 1
      src/engine/ai/MobileFSMManager.java

1
src/engine/ai/MobileFSMManager.java

@ -44,6 +44,7 @@ public class MobileFSMManager { @@ -44,6 +44,7 @@ public class MobileFSMManager {
try {
MovementManager.translocate(mob,mob.patrolPoints.get(0), null);
mob.updateLocation();
} catch (Exception e) {
Logger.error("Mob: " + mob.getName() + " UUID: " + mob.getObjectUUID() + " ERROR: " + e);
e.printStackTrace();

Loading…
Cancel
Save