Update to completion
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user