update inventory when junking for gold
This commit is contained in:
@@ -569,6 +569,7 @@ public class ClientMessagePump implements NetMsgHandler {
|
|||||||
if(goldValue > 0)
|
if(goldValue > 0)
|
||||||
itemManager.addGoldToInventory(goldValue,false);
|
itemManager.addGoldToInventory(goldValue,false);
|
||||||
|
|
||||||
|
itemManager.updateInventory();
|
||||||
Dispatch dispatch = Dispatch.borrow(sourcePlayer, msg);
|
Dispatch dispatch = Dispatch.borrow(sourcePlayer, msg);
|
||||||
DispatchMessage.dispatchMsgDispatch(dispatch, DispatchChannel.SECONDARY);
|
DispatchMessage.dispatchMsgDispatch(dispatch, DispatchChannel.SECONDARY);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user