Skip to content

Commit

Permalink
prevent this from erroring
Browse files Browse the repository at this point in the history
  • Loading branch information
kodewdle committed Dec 4, 2024
1 parent 0681fcb commit a598be6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ElvUI/Core/Modules/UnitFrames/Elements/AuraBars.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit a598be6

Please sign in to comment.