Skip to content

Commit

Permalink
Fix C_Container.GetContainerItemInfo call
Browse files Browse the repository at this point in the history
  • Loading branch information
b-morgan committed Jul 7, 2023
1 parent c5e4e21 commit e041b04
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions UI/ShoppingList.lua
Original file line number Diff line number Diff line change
Expand Up @@ -774,9 +774,11 @@ local function findBagForItem(itemID, count)
else
info = C_Container.GetContainerItemInfo(container, slot)
--DA.DEBUG(1, "findBagForItem: container= "..tostring(container)..", slot= "..tostring(slot)..", info= "..DA.DUMP1(info))
bagItem = info.itemID
num_in_bag = info.stackCount
locked = info.isLocked
if info then
bagItem = info.itemID
num_in_bag = info.stackCount
locked = info.isLocked
end
end
if bagItem then
if itemID == bagItem then
Expand Down

0 comments on commit e041b04

Please sign in to comment.