|
|
@ -133,6 +133,11 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler { |
|
|
|
Item virtualItem = ForgeManager.inMemoryItemLookup.get(itemUUID); |
|
|
|
Item virtualItem = ForgeManager.inMemoryItemLookup.get(itemUUID); |
|
|
|
WorkOrder workOrder = ForgeManager.itemWorkOrderLookup.get(virtualItem); |
|
|
|
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); |
|
|
|
workOrder.cooking.remove(virtualItem); |
|
|
|
ForgeManager.itemWorkOrderLookup.remove(virtualItem); |
|
|
|
ForgeManager.itemWorkOrderLookup.remove(virtualItem); |
|
|
|
|
|
|
|
|
|
|
|