mirror of
https://github.com/OldManAlpha/Puppeteer.git
synced 2025-11-28 23:48:35 +00:00
Prevent errors on unmodded Turtle clients
This commit is contained in:
parent
da225c898e
commit
58fb2aeadc
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user