Browse Source

Update needed here for inventory

combat-2
MagicBot 8 months ago
parent
commit
eb78716401
  1. 4
      src/engine/net/client/handlers/BuyFromNPCMsgHandler.java

4
src/engine/net/client/handlers/BuyFromNPCMsgHandler.java

@ -192,8 +192,10 @@ public class BuyFromNPCMsgHandler extends AbstractClientMsgHandler { @@ -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);

Loading…
Cancel
Save