找到问题拉
local initBlock = {
Name = "",
Description = "",
RequestTypes = {"Event"},
Events = {"VARIABLES_LOADED"},
Enabled = true,
Commands = {
{Description = "", Function =
ShortLayout.Init},
}
}
local loadBlock = {
Name = "",
Description = "",
RequestTypes = {"Event",
"SlashCommand"},
Events = {"PLAYER_LOGIN"},
SlashCommands = {"/shortlayout", "/sl"},
Enabled = true,
Commands = {
{Description = "", Function =
ShortLayout.Load},
}
}
Enabled = true, 改为Enabled = 1, 就OK了