Arty captains hardcoded to slot 4.

This commit is contained in:
2023-05-03 15:44:46 -04:00
parent 6fb30928a1
commit 21c6695a05
+3
View File
@@ -356,6 +356,9 @@ public class NPC extends AbstractCharacter {
if (slot == -1)
Logger.error("No available slot for NPC: " + this.getObjectUUID());
if (this.contract.getContractID() == 839) // Arty Captains are hardcoded to slot 4
slot = 4;
building.getHirelings().put(this, slot);
// Override bind and location for this npc derived