From 3d8aa53253fd9a5265aa201d9ddeaba6d3024462 Mon Sep 17 00:00:00 2001 From: Andrew6810 <16847730+andrew6180@users.noreply.github.com> Date: Mon, 7 Nov 2022 16:24:38 -0700 Subject: [PATCH] Fix typo causing ilvl to never update --- ElvUI_Enhanced/Modules/Blizzard/CharacterFrame.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ElvUI_Enhanced/Modules/Blizzard/CharacterFrame.lua b/ElvUI_Enhanced/Modules/Blizzard/CharacterFrame.lua index 764c4a8..20a263a 100644 --- a/ElvUI_Enhanced/Modules/Blizzard/CharacterFrame.lua +++ b/ElvUI_Enhanced/Modules/Blizzard/CharacterFrame.lua @@ -817,7 +817,7 @@ local function GetAverageItemLevel() -- same ilvl calculation as C_Player:GetAverageItemLevel() for slot = INVSLOT_FIRST_EQUIPPED, INVSLOT_LAST_EQUIPPED do if slot ~= INVSLOT_BODY and slot ~= INVSLOT_TABARD and slot ~= INVSLOT_RANGED and slot ~= INVSLOT_OFFHAND then - local itemLink = GetInventoryItemLink("player", slotID) + local itemLink = GetInventoryItemLink("player", slot) if itemLink then local _, _, quality, itemLevel, _, _, _, _, itemEquipLoc = GetItemInfo(itemLink)