forked from MagicBane/Server
Arty captains hardcoded to slot 4.
This commit is contained in:
@@ -356,6 +356,9 @@ public class NPC extends AbstractCharacter {
|
|||||||
if (slot == -1)
|
if (slot == -1)
|
||||||
Logger.error("No available slot for NPC: " + this.getObjectUUID());
|
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);
|
building.getHirelings().put(this, slot);
|
||||||
|
|
||||||
// Override bind and location for this npc derived
|
// Override bind and location for this npc derived
|
||||||
|
|||||||
Reference in New Issue
Block a user