Fix up config to comply with meta

Update
This commit is contained in:
2025-05-04 23:33:14 +02:00
parent e676d53e97
commit c1885ce76a
12 changed files with 89 additions and 76 deletions

View File

@@ -1,6 +1,5 @@
local addonname, shared = ...
local _, shared = ...
---@cast shared HeimdallShared
---@cast addonname string
local ModuleName = "Macroer"
---@diagnostic disable-next-line: missing-fields
@@ -82,6 +81,7 @@ function shared.Macroer.Init()
end
local idx = FindOrCreateMacro("HeimdallTarget")
---@diagnostic disable-next-line: param-type-mismatch
local body = strjoin("\n", unpack(lines))
if Heimdall_Data.config.macroer.debug then
print(string.format("[%s] Updating macro with %d lines", ModuleName, #lines))