Browse Source

new NPC for ToL support

lakebane-master
FatBoy-DOTC 9 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 {
if (building.getBlueprintUUID() == 0) if (building.getBlueprintUUID() == 0)
return false; return false;
if (building.getBlueprint().getMaxSlots() == building.getHirelings().size()) if (building.getBlueprint().getSlotsForRank(building.getRank()) == building.getHirelings().size())
return false; return false;
String pirateName = NPCManager.getPirateName(contract.getMobbaseID()); String pirateName = NPCManager.getPirateName(contract.getMobbaseID());

Loading…
Cancel
Save