Skip to content

Commit e8f3329

Browse files
committed
Fix issue with TBC compatibility
Closes: #218
1 parent 22871a2 commit e8f3329

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Source/FrameHandlers/PlayerFrame.lua

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@ function addon:initPlayerFrame()
3333

3434

3535
do
36-
local frame = PlayerFrame.PlayerFrameContent.PlayerFrameContentMain.ManaBarArea
36+
local frame = PlayerFrame.manabar
37+
if PlayerFrame.PlayerFrameContent then
38+
frame = PlayerFrame.PlayerFrameContent.PlayerFrameContentMain.ManaBarArea
39+
end
3740
local x, y
3841

3942
lib:RegisterCustomCheckbox(PlayerFrame, L["Hide Resource Bar"],

0 commit comments

Comments
 (0)