Refactor to concurrent list.
This commit is contained in:
@@ -550,7 +550,7 @@ public class Mine extends AbstractGameObject {
|
||||
Building mineBuilding = BuildingManager.getBuilding(this.buildingID);
|
||||
if (mineBuilding == null)
|
||||
return this.production.baseProduction;
|
||||
for (AbstractCharacter harvester : mineBuilding.hirelings.keySet()) {
|
||||
for (AbstractCharacter harvester : mineBuilding.hirelings) {
|
||||
totalModded += baseModValue;
|
||||
totalModded += rankModValue * harvester.getRank();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user