Skip to content

Commit

Permalink
Fixed classic version
Browse files Browse the repository at this point in the history
  • Loading branch information
Alar of Runetotem committed Mar 16, 2024
1 parent 18f1ba0 commit ce7784b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
fsconfig.json
fsconfig.json
.idea
.vscode
7 changes: 4 additions & 3 deletions AlarArtRemover.lua
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
local __FILE__=tostring(debugstack(1,2,0):match("(.*):1:")) -- Always check line number in regexp and file
local me,ns=...
print("AlarArtRemover loaded")
print("AlarArtRemover loaded",GetAccountExpansionLevel(),"yo")
if (GetAccountExpansionLevel()==0) then
local addon=ns
function addon:Start()
local items={
MainMenuBarEndCaps
MainMenuBarLeftEndCap,
MainMenuBarRightEndCap
}
for _,f in pairs(items) do
if f then f:Hide() end
if f then f:Hide() print('hiding', f:GetName()) end
end

end
Expand Down

0 comments on commit ce7784b

Please sign in to comment.