resource merchant work

This commit is contained in:
2024-02-18 17:49:13 -06:00
parent 9e7a8bef4a
commit 571ad4b466
2 changed files with 2 additions and 2 deletions
@@ -1588,6 +1588,7 @@ public class ClientMessagePump implements NetMsgHandler {
MobLoot resource = new MobLoot(npc,ItemBase.getItemBase(buy.getItemBaseID()), 1, true);
resource.setValue(Warehouse.getCostForResource(buy.getItemBaseID()));
npc.getCharItemManager().addItemToInventory(resource);
npc.getCharItemManager().updateInventory(resource,true);
}
itemMan.updateInventory();
}