fix statusbars
Darthpred [07-23-16 - 17:27]
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()