Modules/Nameplates: Fix typo

This commit is contained in:
Andrew6810
2023-02-27 15:16:41 -07:00
parent 13ebcbe258
commit 50ec39f734
+1 -1
View File
@@ -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