From b4a62e5f3ef34028f20d6c189ec09f45d5f5e3c3 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Wed, 12 Jun 2024 18:36:10 -0500 Subject: [PATCH] update inventory when junking for gold --- src/engine/net/client/ClientMessagePump.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/engine/net/client/ClientMessagePump.java b/src/engine/net/client/ClientMessagePump.java index 36b250d6..fb436c79 100644 --- a/src/engine/net/client/ClientMessagePump.java +++ b/src/engine/net/client/ClientMessagePump.java @@ -569,6 +569,7 @@ public class ClientMessagePump implements NetMsgHandler { if(goldValue > 0) itemManager.addGoldToInventory(goldValue,false); + itemManager.updateInventory(); Dispatch dispatch = Dispatch.borrow(sourcePlayer, msg); DispatchMessage.dispatchMsgDispatch(dispatch, DispatchChannel.SECONDARY); }