From b52187f37bbc4da5d01abecf1427c03ba9ac251f Mon Sep 17 00:00:00 2001 From: Meow <30401521+me0wg4ming@users.noreply.github.com> Date: Thu, 5 Mar 2026 10:27:56 +0100 Subject: [PATCH] fixed druid mana bar sometimes showing up on npc`s --- modules/nampower.lua | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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