diff --git a/modules/nampower.lua b/modules/nampower.lua index 2e0aeddd..8d84b7c2 100644 --- a/modules/nampower.lua +++ b/modules/nampower.lua @@ -577,6 +577,15 @@ pfUI:RegisterModule("nampower", "vanilla", function () return end + -- For non-player units, only show if the target is a Druid + if unit ~= "player" then + local _, unitClass = UnitClass(unit) + if unitClass ~= "DRUID" then + bar:Hide() + return + end + end + local powerType = UnitPowerType(unit) -- Only show when NOT using mana (i.e., in Bear/Cat form) @@ -665,4 +674,4 @@ pfUI:RegisterModule("nampower", "vanilla", function () end end end -end) +end) \ No newline at end of file