diff --git a/modules/thirdparty-tbc.lua b/modules/thirdparty-tbc.lua index ed837040..8642dada 100644 --- a/modules/thirdparty-tbc.lua +++ b/modules/thirdparty-tbc.lua @@ -361,7 +361,7 @@ pfUI:RegisterModule("thirdparty-tbc", "tbc", function () DruidBarKey.color = { pr, pg, pb, 1 } DruidBarKey.bordercolor = {1,1,1,0} DruidBarKey.bgcolor = {0,0,0,0} - DruidBarKey.manatexture = pfUI.media["img:bar"] + DruidBarKey.manatexture = pfUI.media[pfUI.uf.player.config.pbartexture] DruidBarKey.bordertexture = "" hooksecurefunc("DruidBar_MainGraphics", function() diff --git a/modules/thirdparty-vanilla.lua b/modules/thirdparty-vanilla.lua index 85b908d0..1a680022 100644 --- a/modules/thirdparty-vanilla.lua +++ b/modules/thirdparty-vanilla.lua @@ -954,7 +954,7 @@ pfUI:RegisterModule("thirdparty-vanilla", "vanilla", function() local pr, pg, pb = 0, 0, 0 if p then pr, pg, pb = p.r + .5, p.g +.5, p.b +.5 end DruidManaBar:SetStatusBarColor(pr, pg, pb) - DruidManaBar:SetStatusBarTexture(pfUI.media["img:bar"]) + DruidManaBar:SetStatusBarTexture(pfUI.media[pfUI.uf.player.config.pbartexture]) local f = pfUI.uf.player DruidManaBar:SetWidth((f.config.pwidth ~= "-1" and f.config.pwidth or f.config.width))