From 0405b2aa2caaa7db27da0bac912bf33a91d7ad76 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 23 Jan 2018 05:19:05 +0100 Subject: [PATCH] Fix some Lua warnings --- mods/ITEMS/REDSTONE/mesecons_wires/init.lua | 1 + mods/ITEMS/mcl_core/nodes_base.lua | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/mods/ITEMS/REDSTONE/mesecons_wires/init.lua b/mods/ITEMS/REDSTONE/mesecons_wires/init.lua index f9eacae3b5..881dcfa0e2 100644 --- a/mods/ITEMS/REDSTONE/mesecons_wires/init.lua +++ b/mods/ITEMS/REDSTONE/mesecons_wires/init.lua @@ -90,6 +90,7 @@ local update_on_place_dig = function (pos, node) end -- Update nodes around it + local rules if minetest.registered_nodes[node.name] and minetest.registered_nodes[node.name].mesecon_wire then rules = wire_rules diff --git a/mods/ITEMS/mcl_core/nodes_base.lua b/mods/ITEMS/mcl_core/nodes_base.lua index e462cd80ad..94f663ddd4 100644 --- a/mods/ITEMS/mcl_core/nodes_base.lua +++ b/mods/ITEMS/mcl_core/nodes_base.lua @@ -959,7 +959,7 @@ for i=1,8 do description = desc, _doc_items_longdesc = longdesc, _doc_items_usagehelp = usagehelp, - _doc_items_create_entry = hhelp, + _doc_items_create_entry = help, _doc_items_hidden = false, tiles = {"default_snow.png"}, wield_image = "default_snow.png",