Fix issue with looting AP
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user