With the latest Github build Yatabar is completely gone
keolwyn opened this issue ยท 2 comments
With the last Github build Yatabar is completely gone from the screen on my level 27 shaman.
(bar should be inside the red square)
I believe that reason for this is the following:
in GetTotemSpellsByElement()
(line 621) function you are checking if there are any totems for the certain element
if Yatabar.totemsFound[element] == false then
if Yatabar.config.debugOn then
Yatabar:AddDebugText("GetTotemSpellsByElement: skip element:"..element)
end
print("GetTotemSpellsByElement: skip element:"..element)
break
end
But, if you check totemsFound
table through the stack output, you could see that the first element is actually an AIR
and there are no air totems on level 27, so the function will break
, skip the rest of the code, and don't get any info about the rest totems. The simple fix is to remove the break
statement and the bar is back.