nameplate: hide castbar if no entry is found

This commit is contained in:
shagu
2016-09-30 00:08:40 +02:00
parent edee74c1aa
commit 4ae139b2d5
+2 -2
View File
@@ -256,10 +256,10 @@ pfUI:RegisterModule("nameplates", function ()
healthbar.castbar.icon:SetTexCoord(.1,.9,.1,.9) healthbar.castbar.icon:SetTexCoord(.1,.9,.1,.9)
end end
end end
elseif healthbar.castbar then
healthbar.castbar:Hide()
end end
end end
end end
end) end)
end) end)