Always use minetest.set_node instead of minetest.add_node for consistency

This commit is contained in:
Jeija
2016-02-14 21:00:37 +01:00
parent 809192f353
commit 7865d42834
8 changed files with 19 additions and 19 deletions

View File

@ -177,7 +177,7 @@ function mesecon.mvps_push_or_pull(pos, stackdir, movedir, maximum, all_pull_sti
for _, n in ipairs(nodes) do
local np = vector.add(n.pos, movedir)
minetest.add_node(np, n.node)
minetest.set_node(np, n.node)
minetest.get_meta(np):from_table(n.meta)
end