Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
local node = minetest.get_node(pos)
node.name = "mod:another_node"
minetest.swap_node(pos, node)
Which preserves the facedir.