mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
Possible fix for nil error in TargetInfo
This commit is contained in:
@ -686,7 +686,7 @@ function TargetInfo.prototype:TargetName(unit)
|
||||
self.isPlayer = UnitIsPlayer(target)
|
||||
|
||||
|
||||
local classification = UnitClassification(target)
|
||||
local classification = UnitClassification(target) or ""
|
||||
if (string.find(classification, "boss")) then
|
||||
self.classification = " |cffcc1111Boss|r"
|
||||
elseif(string.find(classification, "rare")) then
|
||||
|
Reference in New Issue
Block a user