From 5862039a00e67c6deb64b97acdbdf8df50ca0e2c Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 28 Aug 2023 00:07:40 -0400 Subject: [PATCH] Minion added to map after runafterload. --- src/engine/objects/Mob.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/engine/objects/Mob.java b/src/engine/objects/Mob.java index bce61776..a79bc914 100644 --- a/src/engine/objects/Mob.java +++ b/src/engine/objects/Mob.java @@ -522,10 +522,11 @@ public class Mob extends AbstractIntelligenceAgent { //siegeMinion.spawnTime = (60 * 15); siegeMinion.spawnTime = 15; + siegeMinion.runAfterLoad(); + int slot = artyCaptain.getSiegeMinionMap().size() + 1; - artyCaptain.getSiegeMinionMap().put(siegeMinion,slot); + artyCaptain.getSiegeMinionMap().put(siegeMinion, slot); - siegeMinion.runAfterLoad(); DbManager.addToCache(siegeMinion); siegeMinion.setLoc(siegeMinion.bindLoc); siegeMinion.despawn();