diff --git a/src/engine/objects/NPC.java b/src/engine/objects/NPC.java index a1de9fa6..065ce95b 100644 --- a/src/engine/objects/NPC.java +++ b/src/engine/objects/NPC.java @@ -361,10 +361,10 @@ public class NPC extends AbstractCharacter { // Artillery Tower Captains use a hardcoded slot not first available - if (this.contract != null && this.contract.getContractID() == 850) + if (this.contract != null && this.contract.getContractID() == 842) this.building.getHirelings().put(this, 2); else - slotMobInBuilding(); + slotNPCinBuilding(); // picks first available free slot } //TODO set these correctly later @@ -382,7 +382,7 @@ public class NPC extends AbstractCharacter { this.charItemManager.load(); } - private void slotMobInBuilding() { + private void slotNPCinBuilding() { int maxSlots = 10; for (int slot = 1; slot < maxSlots + 1; slot++)