core: move expansion checks into module header

This commit is contained in:
shagu
2021-10-10 12:14:46 +02:00
parent 81efaea6a9
commit ebe5d91a3a
27 changed files with 52 additions and 52 deletions
+1
View File
@@ -3,6 +3,7 @@ local _G = _G or getfenv(0)
local module = ShaguTweaks:register({
title = "Hide Errors",
description = "Hides and ignores all Lua errors produced by broken addons.",
expansions = { ["vanilla"] = true, ["tbc"] = true },
enabled = nil,
})