mine towers can be gold repaired when mine not active
This commit is contained in:
1 parent
99fc4b8671
commit
1e5752736a
1 file changed
+2
-2
@@ -61,8 +61,8 @@ public class RepairBuildingMsgHandler extends AbstractClientMsgHandler {
|
||||
|
||||
//cannot repair mines during 24/7 activity.
|
||||
|
||||
if (targetBuilding.getBlueprint() != null && targetBuilding.getBlueprint().getBuildingGroup() == BuildingGroup.MINE) {
|
||||
return;
|
||||
if (targetBuilding.getBlueprint() != null && targetBuilding.getBlueprint().getBuildingGroup() == BuildingGroup.MINE && targetBuilding.assetIsProtected() == false) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user