Browse Source

Window refresh update

combat-2
MagicBot 7 months ago
parent
commit
b673ca9636
  1. 6
      src/engine/gameManager/ForgeManager.java

6
src/engine/gameManager/ForgeManager.java

@ -327,12 +327,12 @@ public enum ForgeManager implements Runnable { @@ -327,12 +327,12 @@ public enum ForgeManager implements Runnable {
// Remove the virtual items from the forge window
workOrder.cooking.remove(workOrderItem);
itemWorkOrderLookup.remove(workOrderItem);
ItemProductionMsg outMsg = new ItemProductionMsg(workOrder.vendor.building, workOrder.vendor, workOrderItem, mbEnums.ProductionActionType.CONFIRM_SETPRICE, true);
DispatchMessage.dispatchMsgToInterestArea(workOrder.vendor, outMsg, mbEnums.DispatchChannel.SECONDARY, 700, false, false);
workOrder.cooking.remove(workOrderItem);
itemWorkOrderLookup.remove(workOrderItem);
// Persist item
Item completedItem = DbManager.ItemQueries.PERSIST(workOrderItem);

Loading…
Cancel
Save