mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- 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)
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user