From b7b4623c75a9521b028fe721da58597ea41f6ada Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Fri, 17 May 2024 19:53:39 -0500 Subject: [PATCH] noob island guard aggro --- src/engine/mobileAI/MobAI.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/engine/mobileAI/MobAI.java b/src/engine/mobileAI/MobAI.java index 010957c0..209d2c6f 100644 --- a/src/engine/mobileAI/MobAI.java +++ b/src/engine/mobileAI/MobAI.java @@ -975,6 +975,7 @@ public class MobAI { private static void hamletGuardAggro(Mob mob) { City guardedCity = mob.guardedCity; City atLocation = ZoneManager.getCityAtLocation(mob.loc); + Realm realm = RealmMap.getRealmAtLocation(mob.loc); HashSet loadedPlayers = WorldGrid.getObjectsInRangePartial(mob.loc, MobAIThread.AI_BASE_AGGRO_RANGE, MBServerStatics.MASK_PLAYER); for (AbstractWorldObject awo : loadedPlayers) { PlayerCharacter pc = (PlayerCharacter) awo;