Browse Source

Forge must be protected

combat-2
MagicBot 9 months ago
parent
commit
fc3a0eaf0c
  1. 4
      src/engine/gameManager/ForgeManager.java

4
src/engine/gameManager/ForgeManager.java

@ -155,7 +155,9 @@ public enum ForgeManager implements Runnable { @@ -155,7 +155,9 @@ public enum ForgeManager implements Runnable {
return false;
}
return true;
// Forge must be protected in order to access warehouse.
return workOrder.vendor.building.protectionState.equals(mbEnums.ProtectionState.PROTECTED);
}
public static long calcRollingDuration(WorkOrder workOrder) {

Loading…
Cancel
Save