mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-03 20:20:01 +00:00
nameplates: add option to hide totems
This commit is contained in:
@@ -367,6 +367,15 @@ pfUI:RegisterModule("nameplates", function ()
|
||||
end
|
||||
end
|
||||
|
||||
-- hide totems
|
||||
if C.nameplates.totems == "1" and not this.needNameUpdate then
|
||||
for totem in pairs(L["totems"]) do
|
||||
if string.find(unitname, totem) then
|
||||
this:Hide()
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
-- level elite indicator
|
||||
if this.needEliteUpdate and pfUI.nameplates.mobs[unitname] then
|
||||
if level:GetText() ~= nil then
|
||||
|
||||
Reference in New Issue
Block a user