forked from MagicBane/Server
Forge must be protected
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user