core: move expansion checks into module header
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
local _G = _G or getfenv(0)
|
||||
local GetExpansion = ShaguTweaks.GetExpansion
|
||||
|
||||
local module = ShaguTweaks:register({
|
||||
title = "WorldMap Coordinates",
|
||||
description = "Adds coordinates to the bottom of the World Map.",
|
||||
expansions = { ["vanilla"] = true, ["tbc"] = true },
|
||||
enabled = nil,
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user