Commit ceef19ac authored by Blazeflack's avatar Blazeflack

Merge branch '26-castbar-text-for-boss-frames' into 'master'

Resolve "Castbar Text for Boss frames"

Closes #26

See merge request !1
parents 13599786 765e3dcb
......@@ -240,7 +240,7 @@ function PositionCastbarText(unit)
if unit == "Arena" then
for i = 1, 5 do
local unitframe = _G["ElvUF_Arena"..1]
local unitframe = _G["ElvUF_Arena"..i]
local castbar = unitframe and unitframe.Castbar
if castbar then
......@@ -252,7 +252,7 @@ function PositionCastbarText(unit)
end
elseif unit == "Boss" then
for i = 1, MAX_BOSS_FRAMES do
local unitframe = _G["ElvUF_Boss"..1]
local unitframe = _G["ElvUF_Boss"..i]
local castbar = unitframe and unitframe.Castbar
if castbar then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment