Fixed for 6.2.2
failcoder [09-02-15 - 03:30]
diff --git a/SVUI_NamePlates/SVUI_NamePlates.lua b/SVUI_NamePlates/SVUI_NamePlates.lua
index 83f8c97..dcf0fd9 100644
--- a/SVUI_NamePlates/SVUI_NamePlates.lua
+++ b/SVUI_NamePlates/SVUI_NamePlates.lua
@@ -1018,7 +1018,7 @@ do
castBar:SetValue(value)
castBar.text:SetFormattedText("%.1f ", value)
local color
- if(self.shield:IsShown()) then
+ if(self.shield and self.shield:IsShown()) then
color = CBNoInterrupt
else
if value > 0 and (isChannel and (value/max) <= 0.02 or (value/max) >= 0.98) then
@@ -1209,7 +1209,9 @@ do
plate.name:Hide()
cast.border:SetTexture("")
- cast.shield:SetTexture("")
+ if(cast.shield) then
+ cast.shield:SetTexture("")
+ end
cast.icon:SetTexCoord( 0, 0, 0, 0 )
cast.icon:SetWidth(.001)
cast.shadow:SetTexture("")