I don't know much about coding and I have been getting this error from an addon called ''RABuffs''.
It seems to happen just once when I select someone and deselect. It pops up at the deselect.
I went to line 569 and you can see it here, I have it highlighted.
- Code: Select all
function RABui_GameTooltip_SetUnitBuff(obj, unit, bId)
obj.SetUnitBuffOrig(obj, unit, bId);
local tex = tostring(RAB_TextureToBuff(tostring(UnitBuff(unit, bId))));
if (RAB_BuffTimers ~= nil and RAB_BuffTimers[UnitName(unit) .. "." .. tex] ~= nil) then
local tLeft = RAB_BuffTimers[UnitName(unit) .. "." .. tex] - GetTime();
if (tLeft > 0) then
obj:AddLine(string.format(sRAB_Tooltip_TimeLeft,RAB_TimeFormatOffset(tLeft)));
end
end
end
Anyone know what seems to be wrong here and could help me out a bit? Other than this the addon seems to be working just fine.