Skip to content

Commit

Permalink
Wrong number of args for GetSpellTexture
Browse files Browse the repository at this point in the history
  • Loading branch information
kvan committed Jul 27, 2024
1 parent df95032 commit 4959b3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SmartBuff.lua
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ function SMARTBUFF_OnEvent(self, event, ...)

-- checks if aspect of cheetah or pack is active and cancel it if someone gets dazed
if (sPlayerClass == "HUNTER" and O.AntiDaze and (arg1 == "player" or string.find(arg1, "^party") or string.find(arg1, "^raid") or string.find(arg1, "pet"))) then
local _, _, stuntex = C_Spell.GetSpellTexture(1604); --get Dazed icon
local _, stuntex = C_Spell.GetSpellTexture(1604); --get Dazed icon
if (SMARTBUFF_IsDebuffTexture(arg1, stuntex)) then
buff = nil;
if (arg1 == "player" and SMARTBUFF_CheckBuff(arg1, SMARTBUFF_AOTC)) then
Expand Down

0 comments on commit 4959b3d

Please sign in to comment.