From a598be60d069607dc93447fe65967e029775c85e Mon Sep 17 00:00:00 2001 From: Simpy Date: Tue, 3 Dec 2024 22:35:07 -0500 Subject: [PATCH] prevent this from erroring --- ElvUI/Core/Modules/UnitFrames/Elements/AuraBars.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ElvUI/Core/Modules/UnitFrames/Elements/AuraBars.lua b/ElvUI/Core/Modules/UnitFrames/Elements/AuraBars.lua index fe0ea10e6a..b39f1ea677 100644 --- a/ElvUI/Core/Modules/UnitFrames/Elements/AuraBars.lua +++ b/ElvUI/Core/Modules/UnitFrames/Elements/AuraBars.lua @@ -53,7 +53,9 @@ function UF:AuraBars_UpdateBar(bar) bar.auraInfo = {} end - E:SetSmoothing(bar, bars.db.smoothbars) + if bars.db then + E:SetSmoothing(bar, bars.db.smoothbars) + end bar:SetReverseFill(not not bars.reverseFill) bar.spark:ClearAllPoints()