Forge must be protected

This commit is contained in:
2024-04-13 06:48:58 -04:00
parent 2e83b8c693
commit fc3a0eaf0c
+3 -1
View File
@@ -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) {