mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-02 07:43:48 +01:00
Remove double vector addition for piston pull/push - fix on_placenode() coordinates
parent
d1807b5844
commit
f0afebea38
@ -248,13 +248,6 @@ function mesecon.mvps_push_or_pull(pos, stackdir, movedir, maximum, all_pull_sti
|
||||
minetest.get_meta(np):from_table(n.meta)
|
||||
end
|
||||
|
||||
for i in ipairs(nodes) do
|
||||
if first_dropper and i >= first_dropper then
|
||||
break
|
||||
end
|
||||
nodes[i].pos = vector.add(nodes[i].pos, movedir)
|
||||
end
|
||||
|
||||
local moved_nodes = {}
|
||||
local oldstack = mesecon.tablecopy(nodes)
|
||||
for i in ipairs(nodes) do
|
||||
|
Loading…
Reference in New Issue
Block a user