Window refresh update
This commit is contained in:
@@ -131,7 +131,8 @@ 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
|
// 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);
|
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);
|
DispatchMessage.dispatchMsgToInterestArea(workOrder.vendor, outMsg, mbEnums.DispatchChannel.SECONDARY, 700, false, false);
|
||||||
|
|||||||
Reference in New Issue
Block a user