From 8d1c6cc082e9139384104d2ffa0f28e9430ab955 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 24 Mar 2024 08:20:37 -0400 Subject: [PATCH] Rewrite of handler --- src/engine/net/client/handlers/BuyFromNPCMsgHandler.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/engine/net/client/handlers/BuyFromNPCMsgHandler.java b/src/engine/net/client/handlers/BuyFromNPCMsgHandler.java index e281f2bc..67700642 100644 --- a/src/engine/net/client/handlers/BuyFromNPCMsgHandler.java +++ b/src/engine/net/client/handlers/BuyFromNPCMsgHandler.java @@ -114,10 +114,11 @@ public class BuyFromNPCMsgHandler extends AbstractClientMsgHandler { // me.transferEnchants(buy); itemMan.addItemToInventory(vendorItem); //itemMan.updateInventory(); + return true; } } + return true; } - return true; } CharacterItemManager npcCim = npc.charItemManager;