diff --git a/src/engine/objects/Mob.java b/src/engine/objects/Mob.java index 8924eb05..b2c89218 100644 --- a/src/engine/objects/Mob.java +++ b/src/engine/objects/Mob.java @@ -1443,10 +1443,10 @@ public class Mob extends AbstractIntelligenceAgent { loadInventory(); this.updateLocation(); - reloaddAgroMap(this); + reloadAgroMap(this); } - private static void reloaddAgroMap(Mob mob){ + private static void reloadAgroMap(Mob mob){ mob.playerAgroMap.clear(); for(AbstractWorldObject obj : WorldGrid.getObjectsInRangePartial(mob.loc,MBServerStatics.CHARACTER_LOAD_RANGE,1)){ if(!mob.playerAgroMap.containsKey(obj.getObjectUUID())){ @@ -1459,6 +1459,7 @@ public class Mob extends AbstractIntelligenceAgent { this.despawned = true; + this.stopPatrolTime = System.currentTimeMillis(); WorldGrid.RemoveWorldObject(this); this.charItemManager.clearInventory();