Skip to content

Commit

Permalink
Update calls to UnitBuff and UnitDebuff in Useful features.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
CuteOne authored Nov 19, 2024
1 parent 97ed9e2 commit de02536
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions System/UsefulFeatures.lua
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ hooksecurefunc(
br._G.GameTooltip,
"SetUnitBuff",
function(self, ...)
local id = select(10, UnitBuff(...))
local id = select(10, br._G.UnitBuff(...))
if id then
addLine(self, id, types.spell)
end
Expand All @@ -92,7 +92,7 @@ hooksecurefunc(
br._G.GameTooltip,
"SetUnitDebuff",
function(self, ...)
local id = select(10, UnitDebuff(...))
local id = select(10, br._G.UnitDebuff(...))
if id then
addLine(self, id, types.spell)
end
Expand Down

0 comments on commit de02536

Please sign in to comment.