Browse Source

mob AI no longer checks for no online players

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

3
src/engine/ai/MobileFSMManager.java

@ -44,7 +44,6 @@ public class MobileFSMManager { @@ -44,7 +44,6 @@ 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();
@ -97,7 +96,7 @@ public class MobileFSMManager { @@ -97,7 +96,7 @@ public class MobileFSMManager {
for (Mob mob : zone.zoneMobSet) {
try {
if (mob != null && SessionManager.getActivePlayerCharacterCount() > 0)
if (mob != null)
MobileFSM.DetermineAction(mob);
} catch (Exception e) {
Logger.error("Mob: " + mob.getName() + " UUID: " + mob.getObjectUUID() + " ERROR: " + e);

Loading…
Cancel
Save