mirror of
https://github.com/minetest-mods/mesecons.git
synced 2024-12-25 09:50:19 +01:00
Fix #164
This commit is contained in:
parent
e5896076fe
commit
b8714f7d93
@ -175,7 +175,7 @@ function mesecon:mvps_pull_all(pos, direction) -- pos: pos of mvps; direction: d
|
||||
local meta = minetest.get_meta(lnode2):to_table()
|
||||
minetest.add_node(oldpos, lnode2)
|
||||
minetest.get_meta(oldpos):from_table(meta)
|
||||
moved_nodes[#moved_nodes+1] = {pos = oldpos, oldpos = lnode2, node = lnode2, meta = meta}
|
||||
moved_nodes[#moved_nodes+1] = {pos = oldpos, oldpos = lpos2, node = lnode2, meta = meta}
|
||||
nodeupdate(oldpos)
|
||||
oldpos = {x=lpos2.x, y=lpos2.y, z=lpos2.z}
|
||||
lpos2.x = lpos2.x-direction.x
|
||||
|
Loading…
Reference in New Issue
Block a user