Fix typo causing ilvl to never update

This commit is contained in:
Andrew6810
2022-11-07 16:24:38 -07:00
parent b56a4e2942
commit 3d8aa53253
@@ -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)