From bccbb1d8b71170b9f523fd7fb7a71c5df69fe6d4 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Wed, 5 Apr 2023 17:06:08 -0400 Subject: [PATCH] Mobs are not hirelings but minions in this context. --- src/engine/objects/Mob.java | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/engine/objects/Mob.java b/src/engine/objects/Mob.java index 40105e64..21c77c67 100644 --- a/src/engine/objects/Mob.java +++ b/src/engine/objects/Mob.java @@ -803,21 +803,6 @@ public class Mob extends AbstractIntelligenceAgent { } else this.level = 1; - // Use slot locations and add as a hireling - // only if this building has a blueprint. - // otherwise use the mob cache location. - - if (this.building != null && building.getBlueprintUUID() != 0) { - - int maxSlots = 10; - - for (int slot = 1; slot < maxSlots + 1; slot++) - if (!this.building.getHirelings().containsValue(slot)) { - this.building.getHirelings().put(this, slot); - break; - } - } - //set bonuses this.bonuses = new PlayerBonuses(this);