extra ToL slots
This commit is contained in:
@@ -540,7 +540,7 @@ public enum BuildingManager {
|
|||||||
|
|
||||||
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());
|
maxSlots = building.getBlueprint().getSlotsForRank(building.getRank());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (maxSlots == building.getHirelings().size())
|
if (maxSlots == building.getHirelings().size())
|
||||||
|
|||||||
@@ -313,7 +313,7 @@ public class Blueprint {
|
|||||||
|
|
||||||
// Early exit for buildings with single or no slots
|
// Early exit for buildings with single or no slots
|
||||||
|
|
||||||
if (this.maxSlots <= 1)
|
if (this.maxSlots <= 1 && !this.buildingGroup.equals(BuildingGroup.TOL))
|
||||||
return maxSlots;
|
return maxSlots;
|
||||||
|
|
||||||
if (this.maxRank == 1 && currentRank == 1)
|
if (this.maxRank == 1 && currentRank == 1)
|
||||||
|
|||||||
Reference in New Issue
Block a user