From 0727361933597bcdfc686e98d93d4a102780d5cf Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 15 Apr 2024 15:29:13 -0400 Subject: [PATCH] More window work --- src/engine/gameManager/ForgeManager.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/engine/gameManager/ForgeManager.java b/src/engine/gameManager/ForgeManager.java index 0f173bcb..001dc2c6 100644 --- a/src/engine/gameManager/ForgeManager.java +++ b/src/engine/gameManager/ForgeManager.java @@ -302,11 +302,8 @@ public enum ForgeManager implements Runnable { toRemove.add(workOrderItem); - ItemProductionMsg outMsg = new ItemProductionMsg(workOrder.vendor.building, workOrder.vendor, workOrderItem, mbEnums.ProductionActionType.CONFIRM_SETPRICE, true); + 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); - ItemProductionMsg outMsg2 = new ItemProductionMsg(workOrder.vendor.building, workOrder.vendor, workOrderItem, mbEnums.ProductionActionType.CONFIRM_TAKE, true); - DispatchMessage.dispatchMsgToInterestArea(workOrder.vendor, outMsg2, mbEnums.DispatchChannel.SECONDARY, 700, false, false); - completed_item = DbManager.ItemQueries.PERSIST(workOrderItem); workOrder.vendor.charItemManager.addItemToInventory(completed_item);