Enhanced/Nameplates: fix lua error

This commit is contained in:
andrew6180
2023-05-26 00:47:20 -07:00
parent 00e65c32c4
commit e2ebae5d75
@@ -125,7 +125,7 @@ end
function ENP:ClassCache()
if E.db.enhanced.nameplates.classCache then
if not self:IsHooked(NP, "UnitClass") then
self:RawHook(NP, "UnitClass", UnitClassHook)
self:RawHook(NP, "UnitClass", UnitClassHook, true)
end
else
if self:IsHooked(NP, "UnitClass") then