|
|
@ -520,6 +520,24 @@ public enum BuildingManager { |
|
|
|
if (building.getBlueprintUUID() == 0) |
|
|
|
if (building.getBlueprintUUID() == 0) |
|
|
|
return false; |
|
|
|
return false; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(building.getBlueprint().getBuildingGroup().equals(BuildingGroup.TOL)){ |
|
|
|
|
|
|
|
if(contract.getContractID() == 850) { |
|
|
|
|
|
|
|
boolean hasRunemaster = false; |
|
|
|
|
|
|
|
for (AbstractCharacter npc : building.getHirelings().keySet()) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (npc.getObjectType() != GameObjectType.NPC) |
|
|
|
|
|
|
|
continue; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(npc.contractUUID == 850) |
|
|
|
|
|
|
|
hasRunemaster = true; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(hasRunemaster) |
|
|
|
|
|
|
|
return false; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int maxSlots = building.getBlueprint().getMaxSlots(); |
|
|
|
int maxSlots = building.getBlueprint().getMaxSlots(); |
|
|
|
if(building.getBlueprint().getBuildingGroup() != null) { |
|
|
|
if(building.getBlueprint().getBuildingGroup() != null) { |
|
|
|
building.getBlueprint().getSlotsForRank(building.getRank()); |
|
|
|
building.getBlueprint().getSlotsForRank(building.getRank()); |
|
|
|