Browse Source

Persist item work

combat-2
MagicBot 8 months ago
parent
commit
5ade37f7a4
  1. 3
      src/engine/gameManager/ForgeManager.java

3
src/engine/gameManager/ForgeManager.java

@ -66,7 +66,8 @@ public enum ForgeManager implements Runnable { @@ -66,7 +66,8 @@ public enum ForgeManager implements Runnable {
for (Item workOrderItem : workOrder.cooking) {
workOrderItem.setDateToUpgrade(0);
ItemProductionMsg outMsg = new ItemProductionMsg(workOrder.vendor.building, workOrder.vendor, workOrderItem, mbEnums.ProductionActionType.CONFIRM_PRODUCE, true);
DispatchMessage.dispatchMsgToInterestArea(workOrder.vendor, outMsg, mbEnums.DispatchChannel.SECONDARY, 700, false, false);
}
Logger.info("workOrder has completed: " + workOrder.workOrderID);

Loading…
Cancel
Save