Skip to content

Commit

Permalink
Update API
Browse files Browse the repository at this point in the history
  • Loading branch information
ls- committed May 2, 2023
1 parent 0585030 commit c33635d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions ls_UI/core/utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -856,8 +856,6 @@ do
local enchant = ""
local gems, idx = {"", "", ""}, 1
for _, line in next, data.lines do
TooltipUtil.SurfaceArgs(line)

if line.enchantID then
enchant = line.leftText:match(ENCHANT_PATTERN)
elseif line.socketType then
Expand Down
4 changes: 2 additions & 2 deletions ls_UI/modules/tooltips/tooltips.lua
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,8 @@ function MODULE:Init()
tooltip:AddLine(" ")

local caster
if auraGetterToAPI[tooltip.info.getterName] then
caster = auraGetterToAPI[tooltip.info.getterName](tooltip.info.getterArgs)
if auraGetterToAPI[tooltip.processingInfo.getterName] then
caster = auraGetterToAPI[tooltip.processingInfo.getterName](tooltip.processingInfo.getterArgs)
end

if caster then
Expand Down

0 comments on commit c33635d

Please sign in to comment.