summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNovatux <nathanael.courant@laposte.net>2014-06-08 16:12:25 +0200
committerNovatux <nathanael.courant@laposte.net>2014-06-08 16:12:49 +0200
commitb8714f7d93319c9aad77704957ff027d1a0a6c1b (patch)
tree862f0b14e004aa91f01412285848a25781bff609
parente5896076fe35f335794c0136cb12768109ad6fea (diff)
downloadmesecons-b8714f7d93319c9aad77704957ff027d1a0a6c1b.tar
mesecons-b8714f7d93319c9aad77704957ff027d1a0a6c1b.tar.gz
mesecons-b8714f7d93319c9aad77704957ff027d1a0a6c1b.tar.bz2
mesecons-b8714f7d93319c9aad77704957ff027d1a0a6c1b.tar.xz
mesecons-b8714f7d93319c9aad77704957ff027d1a0a6c1b.zip
Fix #164
-rw-r--r--mesecons_mvps/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesecons_mvps/init.lua b/mesecons_mvps/init.lua
index 20cc37d..0079f1a 100644
--- a/mesecons_mvps/init.lua
+++ b/mesecons_mvps/init.lua
@@ -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