From 8ea0d256f9b62fc5231f1b11a8ccb398684d07ec Mon Sep 17 00:00:00 2001 From: Darthpred Date: Sat, 23 Jul 2016 20:27:08 +0300 Subject: [PATCH] fix statusbars --- ElvUI_SLE/modules/unitframes/statusbars.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ElvUI_SLE/modules/unitframes/statusbars.lua b/ElvUI_SLE/modules/unitframes/statusbars.lua index de7f28d..2ed380a 100644 --- a/ElvUI_SLE/modules/unitframes/statusbars.lua +++ b/ElvUI_SLE/modules/unitframes/statusbars.lua @@ -87,6 +87,8 @@ function SUF:UpdateClass(frame) bars[i]:SetStatusBarTexture(texture) end end + elseif frame.ClassBar == "AdditionalPower" or frame.ClassBar == "Stagger" then + bars:SetStatusBarTexture(texture) end end @@ -102,7 +104,7 @@ function SUF:UpdateStatusBars() end end end - if E.private.sle.unitframe.statusbarTextures.class then UF:CreateAndUpdateUF('player') end + if E.private.sle.unitframe.statusbarTextures.class then SUF:UpdateClass(ElvUF_Player) end end function SUF:InitStatus() -- 1.7.9.5