From f7bf07b1f8f3f1b01104c9e46d1f7ba8402cf9c8 Mon Sep 17 00:00:00 2001 From: alek13 Date: Sun, 21 Sep 2025 10:37:28 +0300 Subject: [PATCH] Modern Lua Plugins: fix errors in `mods/lord/Core/builtin`. LG-1980 --- core_namespace.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/core_namespace.lua b/core_namespace.lua index 387948d..f3639a1 100644 --- a/core_namespace.lua +++ b/core_namespace.lua @@ -1544,9 +1544,9 @@ function minetest.strip_param2_color(param2, paramtype2) end function minetest.get_node_drops(node, toolname) end --- @class RecipeInput ---- @field method string `"normal"` or `"cooking"` or `"fuel"` ---- @field width number for example `3` ---- @field items ItemStack[]|table for example `{stack1, stack2, stack3, stack4, stack 5, stack 6, stack 7, stack 8, stack 9}` +--- @field method string `"normal"` or `"cooking"` or `"fuel"` +--- @field width number for example `3` +--- @field items ItemStack[] for example `{stack1, stack2, stack3, stack4, stack 5, stack 6, stack 7, stack 8, stack 9}` --- @class RecipeOutput --- @field item ItemStack @@ -2318,12 +2318,12 @@ minetest.env = {} --- * Map of registered items, indexed by name --- --- [View in lua_api.txt](https://github.com/minetest/minetest/blob/5.4.1/doc/lua_api.txt#L5838-L5839) ---- @type table|ItemDefinition[] +--- @type table minetest.registered_items = {} --- * Map of registered node definitions, indexed by name --- --- [View in lua_api.txt](https://github.com/minetest/minetest/blob/5.4.1/doc/lua_api.txt#L5840-L5841) ---- @type table|NodeDefinition[] +--- @type table minetest.registered_nodes = {} --- * Map of registered craft item definitions, indexed by name ---