jordonwow / bigdebuffs

https://www.curseforge.com/wow/addons/bigdebuffs
46 stars 86 forks source link

broken on today patch #765

Closed memo0704 closed 2 months ago

memo0704 commented 2 months ago

Addon broken on today patch 11.0.2

farske commented 2 months ago

194x BigDebuffs/BigDebuffs.lua:1691: Usage: SpellGetVisibilityInfo(spellID, "visType") [string "=[C]"]: in function SpellGetVisibilityInfo' [string "@BigDebuffs/BigDebuffs.lua"]:1691: in function <BigDebuffs/BigDebuffs.lua:1688> [string "@BigDebuffs/BigDebuffs.lua"]:1776: in function <BigDebuffs/BigDebuffs.lua:1702> [string "=[C]"]: in functionCompactUnitFrame_UpdateDebuffs' [string "@Blizzard_UnitFrame/Classic/CompactUnitFrame.lua"]:607: in function `CompactUnitFrame_UpdateAuras' [string "@Blizzard_UnitFrame/Classic/CompactUnitFrame.lua"]:106: in function <...dOns/Blizzard_UnitFrame/Classic/CompactUnitFrame.lua:59>

Locals: (temporary) = nil (temporary) = "RAID_INCOMBAT

stako commented 2 months ago

spellId is nil because the UnitDebuff call is returning a single object - a table. Looks like the UnitDebuffTest function is being substituted in. I think that's the only way you'd get a table as the return value.

Edit: Nevermind, just missing a AuraUtil.UnpackAuraData call

jordonwow commented 2 months ago

Thanks