forked from MagicBane/Server
renamed "run" in MobileFSM to "DetermineAction"
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user