From f24605735e9e4996a965e648599ea66f2c626815 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sun, 23 Apr 2023 20:41:43 -0500 Subject: [PATCH] renamed "run" in MobileFSM to "DetermineAction" --- src/engine/ai/MobileFSM.java | 2 +- src/engine/ai/MobileFSMManager.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/ai/MobileFSM.java b/src/engine/ai/MobileFSM.java index eb284668..3470125a 100644 --- a/src/engine/ai/MobileFSM.java +++ b/src/engine/ai/MobileFSM.java @@ -299,7 +299,7 @@ public class MobileFSM { //wait 60 seconds to call for help again mob.nextCallForHelp = System.currentTimeMillis() + 60000; } - public static void run(Mob mob) { + public static void DetermineAction(Mob mob) { if (mob == null) return; if (mob.despawned && mob.getMobBase().getLoadID() == 13171) { diff --git a/src/engine/ai/MobileFSMManager.java b/src/engine/ai/MobileFSMManager.java index 1f89d8c7..33190ef4 100644 --- a/src/engine/ai/MobileFSMManager.java +++ b/src/engine/ai/MobileFSMManager.java @@ -89,7 +89,7 @@ public class MobileFSMManager { try { if (mob != null) - MobileFSM.run(mob); + MobileFSM.DetermineAction(mob); } catch (Exception e) { Logger.error(e); e.printStackTrace();