Slot two is reserved on arty towers.

This commit is contained in:
2023-05-02 14:44:22 -04:00
parent e488627fcc
commit 7a3e3b394b
2 changed files with 8 additions and 6 deletions
-6
View File
@@ -356,12 +356,6 @@ public class NPC extends AbstractCharacter {
if (slot == -1)
Logger.error("No available slot for NPC: " + this.getObjectUUID());
// Slot one is reserved on Arty towers for the trebuchet
if (building.getBlueprint() != null &&
building.getBlueprint().getBuildingGroup().equals(BuildingGroup.ARTYTOWER))
slot = slot + 1;
building.getHirelings().put(this, slot);
// Override bind and location for this npc derived