Skip to content

Commit

Permalink
Hidden Power bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
d87 committed Feb 12, 2024
1 parent c4a99a1 commit 895e9aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frame.lua
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ function contentNormalizers.POWERCOLOR(job, state, contentType, pname, ...)
local timerType, cur, max, count, icon, text, r,g,b, a, tr,tg,tb, texture, texCoords
local db = Aptechka.db.profile
local showPowerTypeColors = true
if showPowerTypeColors and pname ~= "MANA" then
if showPowerTypeColors and (pname ~= "MANA" and pname ~= "NONE") then
local c = PowerBarColor[pname] -- getting default color from a globalr2
r,g,b = c.r, c.g, c.b
else
Expand Down

0 comments on commit 895e9aa

Please sign in to comment.