Skip to content

Commit

Permalink
Fix #109: lua error for filtered out loot quality
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Anderson committed Sep 10, 2024
1 parent f1ef139 commit 76f8152
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Features/ItemLoot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ local function showItemLoot(msg, itemLink)
local _, _, itemQuality, itemLevel, itemMinLevel, itemType, itemSubType, itemStackCount, itemEquipLoc, itemTexture, sellPrice, classID, subclassID, bindType, expansionID, setID, isCraftingReagent =
C_Item.GetItemInfo(itemLink)
if not G_RLF.db.global.itemQualityFilter[itemQuality] then
self:getLogger():Debug("Item Ignored by quality", G_RLF.addonName, "ItemLoot", "", msg, amount)
ItemLoot:getLogger():Debug("Item Ignored by quality", G_RLF.addonName, "ItemLoot", "", msg, amount)
return
end
local itemId = itemLink:match("Hitem:(%d+)")
Expand Down

0 comments on commit 76f8152

Please sign in to comment.