use swap_node(), not set_node()

This commit is contained in:
Vanessa Dannenberg 2021-03-26 09:44:02 -04:00
parent e7995ce981
commit da1f2b1430

View File

@ -790,6 +790,6 @@ minetest.register_lbm({
new_fdir = 5
end
minetest.set_node(pos, { name = newname, param2 = new_fdir })
minetest.swap_node(pos, { name = newname, param2 = new_fdir })
end
})