1
0
Fork 0

Merge pull request 'Fix crash when trying to place meshhand' (#2934) from fix_meshnode_crash into master

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2934
Reviewed-by: 𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 <mrrar@noreply.git.minetest.land>
mcl-craftguide-drop-sfinv
𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 2022-11-16 18:33:24 +00:00
commit 7630b1ca00
1 changed files with 1 additions and 1 deletions

View File

@ -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)