diff --git a/LegionWA/AutoLoot/Init.lua b/LegionWA/AutoLoot/Init.lua index 4d95c51..56f62c3 100644 --- a/LegionWA/AutoLoot/Init.lua +++ b/LegionWA/AutoLoot/Init.lua @@ -67,7 +67,7 @@ local function getItemSubclassId(slot) if slot == nil then return 0, string.format("Slot can not be nil") end local itemLink, err = getItemLink(slot) if err then return 0, err end - local subclassId = select(12, GetItemInfo(itemLink)) + local subclassId = select(13, GetItemInfo(itemLink)) if subclassId == nil then return 0, string.format("GetItemInfo returned nil for slot %d", slot) end return subclassId, nil end