pass base object rather than ItemLocation

This commit is contained in:
Brues
2026-07-20 10:35:09 -05:00
parent 782c685fba
commit 6ac69501f5
+1 -1
View File
@@ -504,7 +504,7 @@ local function makeBagItem(bagID, slot, link, Items)
local itemID = C_Container.GetContainerItemID(bagID, slot)
local name = C_Item.GetItemName(ItemLocation:CreateFromBagAndSlot(bagID, slot))
local name = C_Item.GetItemName({bagID = bagID, slotIndex = slot})
local count = 0
local texture, itemCount = GetContainerItemInfo(bagID, slot)
if itemCount then count = itemCount end