mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-04 16:53:46 +01:00
Remove double on_placenode() for push/pull, see https://git.minetest.land/Wuzzy/MineClone2/src/branch/master/mods/ITEMS/REDSTONE/mesecons_mvps/init.lua#L371
parent
a78c613322
commit
d1807b5844
@ -274,12 +274,6 @@ function mesecon.mvps_push_or_pull(pos, stackdir, movedir, maximum, all_pull_sti
|
|||||||
return true, nodes, oldstack
|
return true, nodes, oldstack
|
||||||
end
|
end
|
||||||
|
|
||||||
mesecon.register_on_mvps_move(function(moved_nodes)
|
|
||||||
for _, n in ipairs(moved_nodes) do
|
|
||||||
mesecon.on_placenode(n.pos, n.node)
|
|
||||||
end
|
|
||||||
end)
|
|
||||||
|
|
||||||
function mesecon.mvps_move_objects(pos, dir, nodestack)
|
function mesecon.mvps_move_objects(pos, dir, nodestack)
|
||||||
local objects_to_move = {}
|
local objects_to_move = {}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user