From a5fc9480a6732d0385ace00b6debd78b9e78976d Mon Sep 17 00:00:00 2001 From: Rob Anderson Date: Mon, 9 Sep 2024 22:56:41 -0600 Subject: [PATCH] Fix #109 (#110) * Fix #109: lua error for filtered out loot quality --- Features/ItemLoot.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Features/ItemLoot.lua b/Features/ItemLoot.lua index 2d4fa84..02869d7 100644 --- a/Features/ItemLoot.lua +++ b/Features/ItemLoot.lua @@ -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", "", nil, amount) return end local itemId = itemLink:match("Hitem:(%d+)")