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