Window refresh update

This commit is contained in:
2024-04-19 09:18:30 -04:00
parent ca71079106
commit d76b670b75
@@ -131,7 +131,8 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler {
Item virtualItem = ForgeManager.inMemoryItemLookup.get(itemUUID);
WorkOrder workOrder = ForgeManager.itemWorkOrderLookup.get(virtualItem);
// Refresh the window
// Refresh the window. SetPrice is used only to force a window refresh.
// What controls items displayed are the contents of the workOrders. (ManageNPCMsg)
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);