1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2025-06-28 12:56:01 +02:00

remove unnecessary nodeupdate() usage

this undocumented function is internally being used for falling or attached nodes and shouldn't be needed here
This commit is contained in:
Tim
2015-01-24 19:47:04 +01:00
parent fc436a1a1c
commit 307d969f4c
3 changed files with 0 additions and 10 deletions

View File

@ -349,7 +349,6 @@ local function reg_lamp(suffix, nxt, tilesuffix, light, color)
on_punch = function(pos, node, puncher)
node.name = "homedecor:table_lamp"..lampcolor.."_"..repl[suffix]
minetest.set_node(pos, node)
nodeupdate(pos)
end,
})
@ -370,7 +369,6 @@ local function reg_lamp(suffix, nxt, tilesuffix, light, color)
on_punch = function(pos, node, puncher)
node.name = "homedecor:standing_lamp"..lampcolor.."_"..repl[suffix]
minetest.set_node(pos, node)
nodeupdate(pos)
end,
expand = { top="air" },
})