mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- Added guards against nil auraName in CustomCount causing an error.
This commit is contained in:
@ -372,7 +372,7 @@ function IceHUD:GetDebuffCount(unit, ability, onlyMine, matchByName)
|
||||
end
|
||||
|
||||
function IceHUD:GetAuraCount(auraType, unit, ability, onlyMine, matchByName)
|
||||
if not unit then
|
||||
if not unit or not ability then
|
||||
return 0
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user