From 4ae139b2d55a894ab9a1dbb111a1d4869bb0700a Mon Sep 17 00:00:00 2001 From: shagu Date: Fri, 30 Sep 2016 00:08:40 +0200 Subject: [PATCH] nameplate: hide castbar if no entry is found --- modules/nameplates.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/nameplates.lua b/modules/nameplates.lua index 9ad8a42a..2428e147 100644 --- a/modules/nameplates.lua +++ b/modules/nameplates.lua @@ -256,10 +256,10 @@ pfUI:RegisterModule("nameplates", function () healthbar.castbar.icon:SetTexCoord(.1,.9,.1,.9) end end + elseif healthbar.castbar then + healthbar.castbar:Hide() end end end end) end) - -