Prevent errors on unmodded Turtle clients

This commit is contained in:
OldManAlpha 2025-08-29 22:12:07 -07:00
parent da225c898e
commit 58fb2aeadc

View File

@ -637,6 +637,9 @@ if SuperWoW or TurtleWow then
local _, _, _, i = UnitDebuff(unit, index)
id = i
end
if not id then -- Uh oh, Turtle lost the ID
return ScanAuraInfo(unit, index, type)
end
end
if not auraNameCache[id] then
auraNameCache[id], auraTypeCache[id] = ScanAuraInfo(unit, index, type)