Enhanced/Nameplates: fix lua error
This commit is contained in:
@@ -125,7 +125,7 @@ end
|
|||||||
function ENP:ClassCache()
|
function ENP:ClassCache()
|
||||||
if E.db.enhanced.nameplates.classCache then
|
if E.db.enhanced.nameplates.classCache then
|
||||||
if not self:IsHooked(NP, "UnitClass") then
|
if not self:IsHooked(NP, "UnitClass") then
|
||||||
self:RawHook(NP, "UnitClass", UnitClassHook)
|
self:RawHook(NP, "UnitClass", UnitClassHook, true)
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
if self:IsHooked(NP, "UnitClass") then
|
if self:IsHooked(NP, "UnitClass") then
|
||||||
|
|||||||
Reference in New Issue
Block a user