@ -562,9 +562,8 @@ public class ClientMessagePump implements NetMsgHandler {
@@ -562,9 +562,8 @@ public class ClientMessagePump implements NetMsgHandler {
if ( i . isCanDestroy ( ) ) {
if ( itemManager . delete ( i ) = = true ) {
int value = i . getItemBase ( ) . getBaseValue ( ) ;
if ( sourcePlayer . getCharItemManager ( ) . getGoldInventory ( ) . getNumOfItems ( ) + value < = 10000000 )
sourcePlayer . getCharItemManager ( ) . addGoldToInventory ( value , true ) ;
sourcePlayer . getCharItemManager ( ) . addGoldToInventory ( i . getItemBase ( ) . getBaseValue ( ) , false ) ;
sourcePlayer . getCharItemManager ( ) . updateInventory ( ) ;
Dispatch dispatch = Dispatch . borrow ( sourcePlayer , msg ) ;
DispatchMessage . dispatchMsgDispatch ( dispatch , DispatchChannel . SECONDARY ) ;
}