diff --git a/elements/auras.lua b/elements/auras.lua index bf7277aa..4eb9c2d9 100644 --- a/elements/auras.lua +++ b/elements/auras.lua @@ -323,7 +323,7 @@ local function UpdateAuras(self, event, unit, updateInfo) auras.activeBuffs = table.wipe(auras.activeBuffs or {}) buffsChanged = true - local slots = {UnitAuraSlots(unit, buffFilter)} + local slots = {C_UnitAuras.GetAuraSlots(unit, buffFilter)} for i = 2, #slots do -- #1 return is continuationToken, we don't care about it local data = processData(auras, unit, C_UnitAuras.GetAuraDataBySlot(unit, slots[i])) auras.allBuffs[data.auraInstanceID] = data @@ -348,7 +348,7 @@ local function UpdateAuras(self, event, unit, updateInfo) auras.activeDebuffs = table.wipe(auras.activeDebuffs or {}) debuffsChanged = true - slots = {UnitAuraSlots(unit, debuffFilter)} + slots = {C_UnitAuras.GetAuraSlots(unit, debuffFilter)} for i = 2, #slots do local data = processData(auras, unit, C_UnitAuras.GetAuraDataBySlot(unit, slots[i])) auras.allDebuffs[data.auraInstanceID] = data @@ -590,7 +590,7 @@ local function UpdateAuras(self, event, unit, updateInfo) buffs.active = table.wipe(buffs.active or {}) buffsChanged = true - local slots = {UnitAuraSlots(unit, buffFilter)} + local slots = {C_UnitAuras.GetAuraSlots(unit, buffFilter)} for i = 2, #slots do local data = processData(buffs, unit, C_UnitAuras.GetAuraDataBySlot(unit, slots[i])) buffs.all[data.auraInstanceID] = data @@ -699,7 +699,7 @@ local function UpdateAuras(self, event, unit, updateInfo) debuffs.active = table.wipe(debuffs.active or {}) debuffsChanged = true - local slots = {UnitAuraSlots(unit, debuffFilter)} + local slots = {C_UnitAuras.GetAuraSlots(unit, debuffFilter)} for i = 2, #slots do local data = processData(debuffs, unit, C_UnitAuras.GetAuraDataBySlot(unit, slots[i])) debuffs.all[data.auraInstanceID] = data