Browse Source

new NPC for ToL support

lakebane-master
FatBoy-DOTC 10 months ago
parent
commit
62205150a7
  1. 2
      src/engine/gameManager/BuildingManager.java

2
src/engine/gameManager/BuildingManager.java

@ -520,7 +520,7 @@ public enum BuildingManager { @@ -520,7 +520,7 @@ public enum BuildingManager {
if (building.getBlueprintUUID() == 0)
return false;
if (building.getBlueprint().getMaxSlots() == building.getHirelings().size())
if (building.getBlueprint().getSlotsForRank(building.getRank()) == building.getHirelings().size())
return false;
String pirateName = NPCManager.getPirateName(contract.getMobbaseID());

Loading…
Cancel
Save