forked from MagicBane/Server
Minor class cleanup
This commit is contained in:
@@ -35,6 +35,12 @@ public enum ForgeManager implements Runnable {
|
||||
|
||||
WorkOrder workOrder = workOrders.take();
|
||||
|
||||
// Completed or canceled work orders are not re-enqueued
|
||||
|
||||
if (workOrder.runCanceled || workOrder.runCompleted)
|
||||
continue;
|
||||
;
|
||||
|
||||
// Fulfill workOrder
|
||||
|
||||
for (int i = 0; i < workOrder.slotCount; ++i) {
|
||||
|
||||
Reference in New Issue
Block a user