From eb78716401a1048ce7e58a38121521765c5517f2 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 24 Mar 2024 11:10:59 -0400 Subject: [PATCH] Update needed here for inventory --- src/engine/net/client/handlers/BuyFromNPCMsgHandler.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/engine/net/client/handlers/BuyFromNPCMsgHandler.java b/src/engine/net/client/handlers/BuyFromNPCMsgHandler.java index e094b918..4035b92f 100644 --- a/src/engine/net/client/handlers/BuyFromNPCMsgHandler.java +++ b/src/engine/net/client/handlers/BuyFromNPCMsgHandler.java @@ -192,8 +192,10 @@ public class BuyFromNPCMsgHandler extends AbstractClientMsgHandler { return true; } - if (vendorItem != null) + if (vendorItem != null) { itemMan.buyFromNPC(vendorItem, npc); + itemMan.updateInventory(); + } return true; } catch (Exception e) { Logger.error(e);