@ -114,10 +114,14 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler {
@@ -114,10 +114,14 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler {
//remove from client forge window
ItemProductionMsg outMsg1 = new ItemProductionMsg ( vendor . building , vendor , virtualItem , mbEnums . ProductionActionType . SETPRICE , true ) ;
DispatchMessage . dispatchMsgToInterestArea ( vendor , outMsg1 , mbEnums . DispatchChannel . SECONDARY , 700 , false , false ) ;
ItemProductionMsg outMsg = new ItemProductionMsg ( vendor . building , vendor , virtualItem , mbEnums . ProductionActionType . CONFIRM_DEPOSIT , true ) ;
ItemProductionMsg outMsg = new ItemProductionMsg ( vendor . building , vendor , virtualItem , mbEnums . ProductionActionType . SETPRICE , true ) ;
DispatchMessage . dispatchMsgToInterestArea ( vendor , outMsg , mbEnums . DispatchChannel . SECONDARY , 700 , false , false ) ;
ItemProductionMsg outMsg1 = new ItemProductionMsg ( vendor . building , vendor , virtualItem , mbEnums . ProductionActionType . CONFIRM_DEPOSIT , true ) ;
DispatchMessage . dispatchMsgToInterestArea ( vendor , outMsg1 , mbEnums . DispatchChannel . SECONDARY , 700 , false , false ) ;
// Completed items are identified
virtualItem . flags . add ( mbEnums . ItemFlags . Identified ) ;
Item completedItem = DbManager . ItemQueries . PERSIST ( virtualItem ) ;
vendor . charItemManager . addItemToInventory ( completedItem ) ;