mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50: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
|
end
|
||||||
|
|
||||||
function IceCastBar.prototype:SpellCastChannelUpdate(unit)
|
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))
|
--IceHUD:Debug("SpellCastChannelUpdate", unit, UnitChannelInfo(unit))
|
||||||
|
|
||||||
local spell, rank, displayName, icon, startTime, endTime = UnitChannelInfo(unit)
|
local spell, rank, displayName, icon, startTime, endTime = UnitChannelInfo(unit)
|
||||||
|
Reference in New Issue
Block a user