diff --git a/mods/CORE/CraftSystem/src/CraftSystem.lua b/mods/CORE/CraftSystem/src/CraftSystem.lua index 2d3c449..56a654e 100644 --- a/mods/CORE/CraftSystem/src/CraftSystem.lua +++ b/mods/CORE/CraftSystem/src/CraftSystem.lua @@ -29,7 +29,7 @@ local CraftSystem = { ---@field output string ---@field recipe CraftSystem.Craft.Recipe ---@field return table? TODO: доделать тут тип ----@field craftFunc (fun(self, ...):boolean)? +---@field craftFunc (fun(self, ...):boolean)? ---@class CraftSystem.ShapelessCraft : CraftSystem.BaseCraft ---@field craftFunc shapelessCraftFunc? diff --git a/mods/UI/Formspec/mod.conf b/mods/UI/Formspec/mod.conf index 16839fa..90fc75f 100644 --- a/mods/UI/Formspec/mod.conf +++ b/mods/UI/Formspec/mod.conf @@ -1 +1,2 @@ name = smc__ui__formspec +depends = smc__api__api_loader diff --git a/mods/UI/Formspec/src/Formspec.lua b/mods/UI/Formspec/src/Formspec.lua index b09bfba..f1eb870 100644 --- a/mods/UI/Formspec/src/Formspec.lua +++ b/mods/UI/Formspec/src/Formspec.lua @@ -32,7 +32,7 @@ function Formspec:new(def) return instance end - local version = ('formspec_version[%s]'):format( def.version or 10) -- Formspec version 10 (5.13.0) + local version = ('formspec_version[%s]'):format( def.version or 10) -- formspec version 10 (5.13.0) local size = ('size[%s,%s,%s]'):format(def.size.x, def.size.y, def.size.fixed_size or true) @@ -461,4 +461,5 @@ function Formspec:set_focus() end -return Formspec \ No newline at end of file +return Formspec +