Skip to content

Commit

Permalink
Fixed a bug with the Baganator guild bank integration
Browse files Browse the repository at this point in the history
  • Loading branch information
Slackluster committed Nov 22, 2024
1 parent e77b30b commit f0acfdc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion integrations/Baganator.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ EventUtil.ContinueOnAddOnLoaded("Baganator", function()
if not C_Item.IsItemDataCachedByID(itemDetails.itemID) then
return
end
local containerInfo = C_Container.GetContainerItemInfo(itemDetails.itemLocation.bagID, itemDetails.itemLocation.slotIndex)
local containerInfo
if itemDetails.itemLocation then
containerInfo = C_Container.GetContainerItemInfo(itemDetails.itemLocation.bagID, itemDetails.itemLocation.slotIndex)
end
app.ItemOverlay(icon.overlay, itemDetails.itemLink, nil, containerInfo)
return icon:IsShown()
end,
Expand Down

0 comments on commit f0acfdc

Please sign in to comment.