|
|
@ -67,7 +67,7 @@ public enum ForgeManager implements Runnable { |
|
|
|
|
|
|
|
|
|
|
|
workOrder.runCompleted = true; |
|
|
|
workOrder.runCompleted = true; |
|
|
|
|
|
|
|
|
|
|
|
// Update workorder to disk
|
|
|
|
// Update workOrder on disk
|
|
|
|
|
|
|
|
|
|
|
|
DbManager.WarehouseQueries.UPDATE_WORKORDER(workOrder); |
|
|
|
DbManager.WarehouseQueries.UPDATE_WORKORDER(workOrder); |
|
|
|
} |
|
|
|
} |
|
|
@ -88,9 +88,7 @@ public enum ForgeManager implements Runnable { |
|
|
|
|
|
|
|
|
|
|
|
forge.add(workOrder); |
|
|
|
forge.add(workOrder); |
|
|
|
|
|
|
|
|
|
|
|
// Debugging
|
|
|
|
// Debugging: Logger.info(workOrder.toString());
|
|
|
|
|
|
|
|
|
|
|
|
Logger.info(workOrder.toString()); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|
Logger.error(e); |
|
|
|
Logger.error(e); |
|
|
@ -326,8 +324,6 @@ public enum ForgeManager implements Runnable { |
|
|
|
toRemove.add(virutalItem); |
|
|
|
toRemove.add(virutalItem); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for (Item virtualItem : toRemove) { |
|
|
|
for (Item virtualItem : toRemove) { |
|
|
|
|
|
|
|
|
|
|
|
// Remove virtual items from the forge window
|
|
|
|
// Remove virtual items from the forge window
|
|
|
|