Update to completion

This commit is contained in:
2024-04-17 13:59:34 -04:00
parent 8d1561cd29
commit a522eeb823
@@ -132,7 +132,7 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler {
// Persist item and add to vendor inventory
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);
DispatchMessage.dispatchMsgToInterestArea(vendor, outMsg1, mbEnums.DispatchChannel.SECONDARY, 700, false, false);