From d1807b584442bbd65f71ffe239f61ddc62aef032 Mon Sep 17 00:00:00 2001 From: kay27 Date: Thu, 8 Oct 2020 21:51:07 +0400 Subject: [PATCH] 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 --- mods/ITEMS/REDSTONE/mesecons_mvps/init.lua | 6 ------ 1 file changed, 6 deletions(-) diff --git a/mods/ITEMS/REDSTONE/mesecons_mvps/init.lua b/mods/ITEMS/REDSTONE/mesecons_mvps/init.lua index 20f280a4b..afdc744a8 100644 --- a/mods/ITEMS/REDSTONE/mesecons_mvps/init.lua +++ b/mods/ITEMS/REDSTONE/mesecons_mvps/init.lua @@ -274,12 +274,6 @@ function mesecon.mvps_push_or_pull(pos, stackdir, movedir, maximum, all_pull_sti return true, nodes, oldstack 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) local objects_to_move = {}