Browse Source

Comment cleanup

combat-2
MagicBot 7 months ago
parent
commit
41aefa4a48
  1. 6
      src/engine/net/client/handlers/ItemProductionMsgHandler.java

6
src/engine/net/client/handlers/ItemProductionMsgHandler.java

@ -134,8 +134,8 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler { @@ -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 { @@ -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);

Loading…
Cancel
Save