Browse Source

Comment cleanup

combat-2
MagicBot 8 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 {
try { try {
// Refresh the window. SetPrice is used only to force a window refresh. // Remove virtual item from the vendor rolling window
// What controls items displayed are the contents of the workOrders. (ManageNPCMsg) // (Add / Completed / Remove)
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);
@ -164,7 +164,7 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler {
vendor.charItemManager.addItemToInventory(completedItem); 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); ItemProductionMsg outMsg1 = new ItemProductionMsg(vendor.building, vendor, completedItem, mbEnums.ProductionActionType.DEPOSIT, true);
DispatchMessage.dispatchMsgToInterestArea(vendor, outMsg1, mbEnums.DispatchChannel.SECONDARY, 700, false, false); DispatchMessage.dispatchMsgToInterestArea(vendor, outMsg1, mbEnums.DispatchChannel.SECONDARY, 700, false, false);

Loading…
Cancel
Save