renamed "run" in MobileFSM to "DetermineAction"

This commit is contained in:
2023-04-23 20:41:43 -05:00
parent 7e9e0d2c5b
commit f24605735e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -299,7 +299,7 @@ public class MobileFSM {
//wait 60 seconds to call for help again //wait 60 seconds to call for help again
mob.nextCallForHelp = System.currentTimeMillis() + 60000; mob.nextCallForHelp = System.currentTimeMillis() + 60000;
} }
public static void run(Mob mob) { public static void DetermineAction(Mob mob) {
if (mob == null) if (mob == null)
return; return;
if (mob.despawned && mob.getMobBase().getLoadID() == 13171) { if (mob.despawned && mob.getMobBase().getLoadID() == 13171) {
+1 -1
View File
@@ -89,7 +89,7 @@ public class MobileFSMManager {
try { try {
if (mob != null) if (mob != null)
MobileFSM.run(mob); MobileFSM.DetermineAction(mob);
} catch (Exception e) { } catch (Exception e) {
Logger.error(e); Logger.error(e);
e.printStackTrace(); e.printStackTrace();