Modules/Nameplates: Fix typo
This commit is contained in:
@@ -244,7 +244,7 @@ function NP:UnitClass(frame, unitType)
|
||||
return class
|
||||
end
|
||||
elseif frame:GetParent()._unit then
|
||||
local _, class = UnitClass(frame.unit)
|
||||
local _, class = UnitClass(frame:GetParent()._unit)
|
||||
if class then
|
||||
return class
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user