diff --git a/src/engine/net/client/handlers/ItemProductionMsgHandler.java b/src/engine/net/client/handlers/ItemProductionMsgHandler.java index f165c447..e8810c48 100644 --- a/src/engine/net/client/handlers/ItemProductionMsgHandler.java +++ b/src/engine/net/client/handlers/ItemProductionMsgHandler.java @@ -134,8 +134,8 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler { try { - // Refresh the window. SetPrice is used only to force a window refresh. - // What controls items displayed are the contents of the workOrders. (ManageNPCMsg) + // Remove virtual item from the vendor rolling window + // (Add / Completed / Remove) 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); @@ -164,7 +164,7 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler { vendor.charItemManager.addItemToInventory(completedItem); - // Refresh the vendor inventory window + // Add persisted items to the vendor inventory window ItemProductionMsg outMsg1 = new ItemProductionMsg(vendor.building, vendor, completedItem, mbEnums.ProductionActionType.DEPOSIT, true); DispatchMessage.dispatchMsgToInterestArea(vendor, outMsg1, mbEnums.DispatchChannel.SECONDARY, 700, false, false);