nameplates: fix castbar nil error

This commit is contained in:
shagu
2017-08-21 18:58:53 +02:00
parent 4a0e16ba06
commit 25741b2305
+4 -1
View File
@@ -446,7 +446,10 @@ pfUI:RegisterModule("nameplates", function ()
end
end
else
healthbar.castbar:Hide()
if healthbar.castbar then
healthbar.castbar:Hide()
end
if this.debuffs then
this.debuffs[1]:SetPoint("TOPLEFT", healthbar, "BOTTOMLEFT", 0, -3)
end