|
|
@ -42,9 +42,6 @@ public enum ForgeManager implements Runnable { |
|
|
|
|
|
|
|
|
|
|
|
try { |
|
|
|
try { |
|
|
|
workOrder = forge.take(); |
|
|
|
workOrder = forge.take(); |
|
|
|
} catch (Exception e) { |
|
|
|
|
|
|
|
Logger.error(e); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (workOrder.total_produced >= workOrder.total_to_produce) { |
|
|
|
if (workOrder.total_produced >= workOrder.total_to_produce) { |
|
|
|
|
|
|
|
|
|
|
@ -82,6 +79,10 @@ public enum ForgeManager implements Runnable { |
|
|
|
// Debugging
|
|
|
|
// Debugging
|
|
|
|
|
|
|
|
|
|
|
|
Logger.info(workOrder.toString()); |
|
|
|
Logger.info(workOrder.toString()); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} catch (Exception e) { |
|
|
|
|
|
|
|
Logger.error(e); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|