From 83086a9b57b7b4282ec1696c428ab0dbcb6dcf80 Mon Sep 17 00:00:00 2001 From: 4n0n <4n0n@tinkr.anon> Date: Tue, 30 Jul 2024 15:04:36 +0000 Subject: [PATCH] 11.0 11.0 --- src/Aura/Aura.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Aura/Aura.lua b/src/Aura/Aura.lua index 056d488..ab0f8f5 100644 --- a/src/Aura/Aura.lua +++ b/src/Aura/Aura.lua @@ -75,6 +75,11 @@ function Aura:New(unit, index, type) return self end + if C_UnitAuras.GetAuraDataByIndex then + local unitAuraInfo = C_UnitAuras.GetAuraDataByIndex(unit:GetOMToken(), index, type) + return Aura:CreateFromUnitAuraInfo(unitAuraInfo) + end + local name, icon, count, dispelType, duration, expirationTime, source, isStealable, nameplateShowPersonal, spellId, canApplyAura, isBossDebuff, castByPlayer, nameplateShowAll, timeMod = UnitAura(unit:GetOMToken(), index, type)