update inventory when junking for gold

This commit is contained in:
2024-06-12 18:36:10 -05:00
parent fc7e6735a1
commit b4a62e5f3e
@@ -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);
} }