From b673ca963635155d652503b66f01adf7117e7817 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Fri, 19 Apr 2024 09:27:50 -0400 Subject: [PATCH] Window refresh update --- src/engine/gameManager/ForgeManager.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/engine/gameManager/ForgeManager.java b/src/engine/gameManager/ForgeManager.java index 869d2f8a..ecee0905 100644 --- a/src/engine/gameManager/ForgeManager.java +++ b/src/engine/gameManager/ForgeManager.java @@ -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);