Browse Source

Minion added to map after runafterload.

combat-2
MagicBot 1 year ago
parent
commit
8343a98d77
  1. 6
      src/engine/objects/Mob.java

6
src/engine/objects/Mob.java

@ -524,13 +524,13 @@ public class Mob extends AbstractIntelligenceAgent {
siegeMinion.runAfterLoad(); siegeMinion.runAfterLoad();
int slot = artyCaptain.getSiegeMinionMap().size() + 1;
artyCaptain.getSiegeMinionMap().put(siegeMinion, slot);
DbManager.addToCache(siegeMinion); DbManager.addToCache(siegeMinion);
siegeMinion.setLoc(siegeMinion.bindLoc); siegeMinion.setLoc(siegeMinion.bindLoc);
siegeMinion.despawn(); siegeMinion.despawn();
int slot = artyCaptain.getSiegeMinionMap().size() + 1;
artyCaptain.getSiegeMinionMap().put(siegeMinion, slot);
return siegeMinion; return siegeMinion;
} }

Loading…
Cancel
Save