diff --git a/src/engine/objects/Mob.java b/src/engine/objects/Mob.java index a4916a65..3cd19230 100644 --- a/src/engine/objects/Mob.java +++ b/src/engine/objects/Mob.java @@ -249,7 +249,6 @@ public class Mob extends AbstractIntelligenceAgent { this.spawnTime = 60 * 15; this.isPlayerGuard = true; this.nameOverride = contract.getName(); - this.BehaviourType = MobileFSM.MobBehaviourType.GuardCaptain; } int guildID = rs.getInt("mob_guildUID"); @@ -844,6 +843,7 @@ public class Mob extends AbstractIntelligenceAgent { for (int slot = 1; slot < maxSlots + 1; slot++) if (!this.building.getHirelings().containsValue(slot)) { this.building.getHirelings().put(this, slot); + this.BehaviourType = MobileFSM.MobBehaviourType.GuardCaptain; break; } }