Skip to content

Commit

Permalink
Missing caster in UnitAura - UnitBuff impl.
Browse files Browse the repository at this point in the history
  • Loading branch information
RichSteini committed May 12, 2023
1 parent 9854c94 commit f7905cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WeakAuras/!compatibility/compatibility.lua
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ function UnitAura(unit, indexOrName, rank, filter)
if spellLink then
return name, r, icon, count, debuffType, duration, GetTime() + (remaining or 0), caster, isStealable, nil, tonumber(spellLink:match("spell:(%d+)"))
else
return name, r, icon, count, debuffType, duration, GetTime() + (remaining or 0), (castable and "player"), isStealable, nil, spellIdCache[name]
return name, r, icon, count, debuffType, duration, GetTime() + (remaining or 0), caster, isStealable, nil, spellIdCache[name]
end
end
x = x + 1;
Expand Down

0 comments on commit f7905cb

Please sign in to comment.