Skip to content

Commit

Permalink
Use C_Item for item info APIs ready for The War Within
Browse files Browse the repository at this point in the history
  • Loading branch information
plusmouse committed May 30, 2024
1 parent f13a0ac commit f177e05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/LinkInfoIcons.lua
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ end
local function SubInItemInfo(link)
local res = link

local _, _, subType, equipLocation, icon, classID = GetItemInfoInstant(link)
local _, _, subType, equipLocation, icon, classID = C_Item.GetItemInfoInstant(link)

local details = {}

Expand All @@ -316,7 +316,7 @@ end
table.insert(details, _G[equipLocation])
end

local level = GetDetailedItemLevelInfo(link)
local level = C_Item.GetDetailedItemLevelInfo(link)
if module.db.profile.item.itemLevel and IsGear(classID) and level then
table.insert(details, level)
end
Expand Down

0 comments on commit f177e05

Please sign in to comment.