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:
@ -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" },
|
||||
})
|
||||
|
Reference in New Issue
Block a user