Browse Source

Update to completion

combat-2
MagicBot 8 months ago
parent
commit
a522eeb823
  1. 2
      src/engine/net/client/handlers/ItemProductionMsgHandler.java

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

@ -132,7 +132,7 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler {
// Persist item and add to vendor inventory // Persist item and add to vendor inventory
Item completedItem = DbManager.ItemQueries.PERSIST(virtualItem); Item completedItem = DbManager.ItemQueries.PERSIST(virtualItem);
vendor.charItemManager.addItemToInventory(virtualItem); vendor.charItemManager.addItemToInventory(completedItem);
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