forked from minetest-mods/mesecons
Fix sticky piston duplicate bug
This commit is contained in:
parent
8fa6894953
commit
9d52049e83
@ -207,8 +207,8 @@ mesecon:register_on_signal_off(function(pos, node)
|
|||||||
and checknode.name ~= "default:lava_flowing"
|
and checknode.name ~= "default:lava_flowing"
|
||||||
and not mesecon:is_mvps_stopper(checknode.name) then
|
and not mesecon:is_mvps_stopper(checknode.name) then
|
||||||
minetest.env:set_node(pos, checknode)
|
minetest.env:set_node(pos, checknode)
|
||||||
mesecon:updatenode(pos)
|
minetest.env:remove_node(checkpos)
|
||||||
--minetest.env:dig_node(pos)
|
mesecon:updatenode(checkpos)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
if node.name == "mesecons_pistons:piston_sticky" then
|
if node.name == "mesecons_pistons:piston_sticky" then
|
||||||
|
Loading…
Reference in New Issue
Block a user