From 23783ec7cdbffca949c8875b4bbf994bb97aa5a8 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sun, 6 Aug 2023 17:54:01 -0500 Subject: [PATCH] spacing cleanup --- src/engine/mobileAI/MobAI.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/mobileAI/MobAI.java b/src/engine/mobileAI/MobAI.java index 56f3637c..9f0c6d9e 100644 --- a/src/engine/mobileAI/MobAI.java +++ b/src/engine/mobileAI/MobAI.java @@ -283,7 +283,7 @@ public class MobAI { MovementUtilities.aiMove(mob, mob.destination, true); - if (mob.BehaviourType.ordinal() == Enum.MobBehaviourType.GuardCaptain.ordinal()) { + if (mob.BehaviourType.equals(Enum.MobBehaviourType.GuardCaptain)) { for (Entry minion : mob.siegeMinionMap.entrySet()) { //make sure mob is out of combat stance @@ -295,7 +295,6 @@ public class MobAI { rwss.setPlayer(minion.getKey()); DispatchMessage.sendToAllInRange(minion.getKey(), rwss); } - if (MovementUtilities.canMove(minion.getKey())) { Vector3f minionOffset = Formation.getOffset(2, minion.getValue() + 3); minion.getKey().updateLocation(); @@ -433,6 +432,7 @@ public class MobAI { } return false; } + public static boolean GuardCast(Mob mob) { try {