Castbar.casting / Castbar.channeling for the units with suffix.
villiv opened this issue ยท 2 comments
Could you add some checks like this?
local castbar = self.Castbar
local name, rank, text, texture, startTime, endTime, _, castid, interrupt = UnitCastingInfo(unit)
if(not name) then
castbar.casting = nil -- here!
castbar:Hide()
return
end
It seems units with suffix (ex. targettarget, focustarget) need it.