mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- fixed a potential nil access in the cast bar
This commit is contained in:
@ -345,7 +345,7 @@ function IceCastBar.prototype:SpellCastChannelStart(unit)
|
||||
end
|
||||
|
||||
function IceCastBar.prototype:SpellCastChannelUpdate(unit)
|
||||
if (unit ~= self.unit) then return end
|
||||
if (unit ~= self.unit or not self.actionStartTime) then return end
|
||||
--IceHUD:Debug("SpellCastChannelUpdate", unit, UnitChannelInfo(unit))
|
||||
|
||||
local spell, rank, displayName, icon, startTime, endTime = UnitChannelInfo(unit)
|
||||
|
Reference in New Issue
Block a user