Browse Source

update inventory when junking for gold

lakebane-new
FatBoy-DOTC 5 months ago
parent
commit
b4a62e5f3e
  1. 1
      src/engine/net/client/ClientMessagePump.java

1
src/engine/net/client/ClientMessagePump.java

@ -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);
} }

Loading…
Cancel
Save