|
|
@ -520,9 +520,10 @@ public enum BuildingManager { |
|
|
|
if (building.getBlueprintUUID() == 0) |
|
|
|
if (building.getBlueprintUUID() == 0) |
|
|
|
return false; |
|
|
|
return false; |
|
|
|
|
|
|
|
|
|
|
|
if (building.getBlueprint().getSlotsForRank(building.getRank()) == building.getHirelings().size()) |
|
|
|
if (building.getBlueprint().getSlotsForRank(building.getRank()) == building.getHirelings().size()) { |
|
|
|
|
|
|
|
Logger.error("failed at addHireling with contract: " + contract.getContractID()); |
|
|
|
return false; |
|
|
|
return false; |
|
|
|
|
|
|
|
} |
|
|
|
String pirateName = NPCManager.getPirateName(contract.getMobbaseID()); |
|
|
|
String pirateName = NPCManager.getPirateName(contract.getMobbaseID()); |
|
|
|
|
|
|
|
|
|
|
|
if (item.getChargesRemaining() > 0) |
|
|
|
if (item.getChargesRemaining() > 0) |
|
|
|