From 8343a98d777a6c447243fc696584af91a560bd9e Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 28 Aug 2023 00:08:35 -0400 Subject: [PATCH] Minion added to map after runafterload. --- src/engine/objects/Mob.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/engine/objects/Mob.java b/src/engine/objects/Mob.java index a79bc914..0f96e6cc 100644 --- a/src/engine/objects/Mob.java +++ b/src/engine/objects/Mob.java @@ -524,13 +524,13 @@ public class Mob extends AbstractIntelligenceAgent { siegeMinion.runAfterLoad(); - int slot = artyCaptain.getSiegeMinionMap().size() + 1; - artyCaptain.getSiegeMinionMap().put(siegeMinion, slot); - DbManager.addToCache(siegeMinion); siegeMinion.setLoc(siegeMinion.bindLoc); siegeMinion.despawn(); + int slot = artyCaptain.getSiegeMinionMap().size() + 1; + artyCaptain.getSiegeMinionMap().put(siegeMinion, slot); + return siegeMinion; }