Commit 5f490759 authored by Tukz's avatar Tukz

Update castbar.lua

parent 5496e23b
...@@ -382,7 +382,7 @@ local function UNIT_SPELLCAST_CHANNEL_UPDATE(self, event, unit) ...@@ -382,7 +382,7 @@ local function UNIT_SPELLCAST_CHANNEL_UPDATE(self, event, unit)
if(self.unit ~= unit and self.realUnit ~= unit) then return end if(self.unit ~= unit and self.realUnit ~= unit) then return end
local element = self.Castbar local element = self.Castbar
local name, _, _, startTime, endTime = UnitChannelInfo(unit) local name, _, _, startTime, endTime = ChannelInfo(unit)
if(not name or not element:IsShown()) then if(not name or not element:IsShown()) then
return return
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment