From 90373e072a46b75455b89d307c1372d2c5496ba7 Mon Sep 17 00:00:00 2001 From: Parnic Date: Fri, 25 Jan 2008 07:02:22 +0000 Subject: [PATCH] - fixed a problem with target cast bars not always interrupting properly (apparently UNIT_SPELLCAST_STOP doesn't reliably return the spell that's stopping for non-player units) --- IceCastBar.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IceCastBar.lua b/IceCastBar.lua index d56160e..251c3ab 100644 --- a/IceCastBar.lua +++ b/IceCastBar.lua @@ -230,7 +230,7 @@ function IceCastBar.prototype:SpellCastStop(unit, spell, rank) IceHUD:Debug("SpellCastStop", unit, spell, self.current) -- ignore if not coming from current spell - if (self.current and self.current ~= spell) then + if (self.current and spell and self.current ~= spell) then return end