From eeecc52ff86557d425ecd608b2957ac1dcc72ec9 Mon Sep 17 00:00:00 2001 From: cora Date: Fri, 11 Nov 2022 03:15:09 +0100 Subject: [PATCH] Fix crash when trying to place meshhand --- mods/PLAYER/mcl_meshhand/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/PLAYER/mcl_meshhand/init.lua b/mods/PLAYER/mcl_meshhand/init.lua index 0d4bf091db..904ffa533f 100644 --- a/mods/PLAYER/mcl_meshhand/init.lua +++ b/mods/PLAYER/mcl_meshhand/init.lua @@ -10,7 +10,7 @@ local node_def = { drawtype = "mesh", node_placement_prediction = "", on_construct = function(pos) - local name = get_node(pos).name + local name = minetest.get_node(pos).name local message = "[mcl_meshhand] Trying to construct " .. name .. " at " .. minetest.pos_to_string(pos) minetest.log("error", message) minetest.remove_node(pos)