Fix sticky piston dropping piston only

This commit is contained in:
Wuzzy 2017-03-15 20:54:33 +01:00
parent 58bbbf1627
commit 6892e45e1f

View file

@ -290,7 +290,7 @@ minetest.register_node("mesecons_pistons:piston_sticky_on", {
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
is_ground_content = false, is_ground_content = false,
drop = "mesecons_pistons:piston_normal_off", drop = "mesecons_pistons:piston_sticky_off",
after_dig_node = piston_remove_pusher, after_dig_node = piston_remove_pusher,
node_box = piston_on_box, node_box = piston_on_box,
selection_box = piston_on_box, selection_box = piston_on_box,
@ -492,7 +492,7 @@ minetest.register_node("mesecons_pistons:piston_up_sticky_on", {
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
is_ground_content = false, is_ground_content = false,
drop = "mesecons_pistons:piston_normal_off", drop = "mesecons_pistons:piston_sticky_off",
after_dig_node = piston_remove_pusher, after_dig_node = piston_remove_pusher,
node_box = piston_up_on_box, node_box = piston_up_on_box,
selection_box = piston_up_on_box, selection_box = piston_up_on_box,