From ce7784bb54edb2f6e57141fcee159c286d2aae25 Mon Sep 17 00:00:00 2001 From: Alar of Runetotem Date: Sat, 16 Mar 2024 16:34:43 +0100 Subject: [PATCH] Fixed classic version --- .gitignore | 4 +++- AlarArtRemover.lua | 7 ++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 8d19bb9..310d44b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ -fsconfig.json +fsconfig.json +.idea +.vscode diff --git a/AlarArtRemover.lua b/AlarArtRemover.lua index d85135b..06de9ee 100644 --- a/AlarArtRemover.lua +++ b/AlarArtRemover.lua @@ -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