@ -155,11 +155,11 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler {
@@ -155,11 +155,11 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler {
return ;
}
targetItem . setValue ( itemPrice ) ;
outMsg = new ItemProductionMsg ( vendor . getBuilding ( ) , vendor , targetItem , mbEnums . ProductionActionType . DEPOSIT . ordinal ( ) , true ) ;
outMsg = new ItemProductionMsg ( vendor . getBuilding ( ) , vendor , targetItem , mbEnums . ProductionActionType . DEPOSIT , true ) ;
dispatch = Dispatch . borrow ( player , outMsg ) ;
DispatchMessage . dispatchMsgDispatch ( dispatch , mbEnums . DispatchChannel . SECONDARY ) ;
outMsg = new ItemProductionMsg ( vendor . getBuilding ( ) , vendor , targetItem , mbEnums . ProductionActionType . SETPRICE . ordinal ( ) , true ) ;
outMsg = new ItemProductionMsg ( vendor . getBuilding ( ) , vendor , targetItem , mbEnums . ProductionActionType . SETPRICE , true ) ;
dispatch = Dispatch . borrow ( player , outMsg ) ;
DispatchMessage . dispatchMsgDispatch ( dispatch , mbEnums . DispatchChannel . SECONDARY ) ;
} else if ( targetItem . getObjectType ( ) = = GameObjectType . MobLoot ) {
@ -169,11 +169,11 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler {
@@ -169,11 +169,11 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler {
return ;
}
targetItem . setValue ( itemPrice ) ;
outMsg = new ItemProductionMsg ( vendor . getBuilding ( ) , vendor , targetItem , mbEnums . ProductionActionType . DEPOSIT . ordinal ( ) , true ) ;
outMsg = new ItemProductionMsg ( vendor . getBuilding ( ) , vendor , targetItem , mbEnums . ProductionActionType . DEPOSIT , true ) ;
dispatch = Dispatch . borrow ( player , outMsg ) ;
DispatchMessage . dispatchMsgDispatch ( dispatch , mbEnums . DispatchChannel . SECONDARY ) ;
outMsg = new ItemProductionMsg ( vendor . getBuilding ( ) , vendor , targetItem , mbEnums . ProductionActionType . SETPRICE . ordinal ( ) , true ) ;
outMsg = new ItemProductionMsg ( vendor . getBuilding ( ) , vendor , targetItem , mbEnums . ProductionActionType . SETPRICE , true ) ;
dispatch = Dispatch . borrow ( player , outMsg ) ;
DispatchMessage . dispatchMsgDispatch ( dispatch , mbEnums . DispatchChannel . SECONDARY ) ;
}
@ -230,11 +230,11 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler {
@@ -230,11 +230,11 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler {
return ;
}
outMsg = new ItemProductionMsg ( vendor . getBuilding ( ) , vendor , targetItem , mbEnums . ProductionActionType . DEPOSIT . ordinal ( ) , true ) ;
outMsg = new ItemProductionMsg ( vendor . getBuilding ( ) , vendor , targetItem , mbEnums . ProductionActionType . DEPOSIT , true ) ;
dispatch = Dispatch . borrow ( player , outMsg ) ;
DispatchMessage . dispatchMsgDispatch ( dispatch , mbEnums . DispatchChannel . SECONDARY ) ;
outMsg = new ItemProductionMsg ( vendor . getBuilding ( ) , vendor , targetItem , mbEnums . ProductionActionType . CONFIRM_DEPOSIT . ordinal ( ) , true ) ;
outMsg = new ItemProductionMsg ( vendor . getBuilding ( ) , vendor , targetItem , mbEnums . ProductionActionType . CONFIRM_DEPOSIT , true ) ;
dispatch = Dispatch . borrow ( player , outMsg ) ;
DispatchMessage . dispatchMsgDispatch ( dispatch , mbEnums . DispatchChannel . SECONDARY ) ;
@ -313,7 +313,7 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler {
@@ -313,7 +313,7 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler {
totalValue + = itemValue ;
vendor . charItemManager . recycle ( targetItem ) ;
outMsg = new ItemProductionMsg ( vendor . getBuilding ( ) , vendor , targetItem , mbEnums . ProductionActionType . TAKE . ordinal ( ) , true ) ;
outMsg = new ItemProductionMsg ( vendor . getBuilding ( ) , vendor , targetItem , mbEnums . ProductionActionType . TAKE , true ) ;
dispatch = Dispatch . borrow ( origin . getPlayerCharacter ( ) , outMsg ) ;
DispatchMessage . dispatchMsgDispatch ( dispatch , mbEnums . DispatchChannel . SECONDARY ) ;