Addon error, need some help
Posted: Fri Oct 16, 2015 4:43 am
Hello,
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.
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.
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.