Window refresh update

This commit is contained in:
2024-04-19 09:16:01 -04:00
parent 6ecaa4dc0c
commit adf686974d
@@ -133,6 +133,11 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler {
Item virtualItem = ForgeManager.inMemoryItemLookup.get(itemUUID);
WorkOrder workOrder = ForgeManager.itemWorkOrderLookup.get(virtualItem);
// Refresh the window
ItemProductionMsg outMsg = new ItemProductionMsg(workOrder.vendor.building, workOrder.vendor, virtualItem, mbEnums.ProductionActionType.CONFIRM_SETPRICE, true);
DispatchMessage.dispatchMsgToInterestArea(workOrder.vendor, outMsg, mbEnums.DispatchChannel.SECONDARY, 700, false, false);
workOrder.cooking.remove(virtualItem);
ForgeManager.itemWorkOrderLookup.remove(virtualItem);