some addons like to provide a broken _G variable to the global environment breaking every other addon that relies on it if existing. With this commit, make ShaguTweaks no longer re-use the global _G, even if existing.
14 lines
350 B
Lua
14 lines
350 B
Lua
local _G = ShaguTweaks.GetGlobalEnv()
|
|
|
|
local module = ShaguTweaks:register({
|
|
title = "Hide Gryphons",
|
|
description = "Hides the gryphons left and right of the action bar.",
|
|
expansions = { ["vanilla"] = true, ["tbc"] = true },
|
|
enabled = nil,
|
|
})
|
|
|
|
module.enable = function(self)
|
|
MainMenuBarLeftEndCap:Hide()
|
|
MainMenuBarRightEndCap:Hide()
|
|
end
|