Fix piston pushers not being not_in_creative_inventory=1

This commit is contained in:
Mikita Wiśniewski 2025-01-11 21:19:14 +07:00
parent bcd7baec75
commit 7992670d20

View file

@ -272,7 +272,7 @@ minetest.register_node("mesecons_pistons:piston_pusher_normal", {
},
paramtype = "light",
paramtype2 = "facedir",
groups = {piston_pusher=1},
groups = {piston_pusher=1, not_in_creative_inventory=1},
is_ground_content = false,
after_destruct = piston_remove_base,
diggable = false,
@ -380,7 +380,7 @@ minetest.register_node("mesecons_pistons:piston_pusher_sticky", {
},
paramtype = "light",
paramtype2 = "facedir",
groups = {piston_pusher=2},
groups = {piston_pusher=2, not_in_creative_inventory=1},
is_ground_content = false,
after_destruct = piston_remove_base,
diggable = false,
@ -504,7 +504,7 @@ minetest.register_node("mesecons_pistons:piston_up_pusher_normal", {
},
paramtype = "light",
paramtype2 = "facedir",
groups = {piston_pusher=1},
groups = {piston_pusher=1, not_in_creative_inventory=1},
is_ground_content = false,
after_destruct = piston_remove_base,
diggable = false,
@ -611,7 +611,7 @@ minetest.register_node("mesecons_pistons:piston_up_pusher_sticky", {
},
paramtype = "light",
paramtype2 = "facedir",
groups = {piston_pusher=2},
groups = {piston_pusher=1, not_in_creative_inventory=1},
is_ground_content = false,
after_destruct = piston_remove_base,
diggable = false,
@ -735,7 +735,7 @@ minetest.register_node("mesecons_pistons:piston_down_pusher_normal", {
},
paramtype = "light",
paramtype2 = "facedir",
groups = {piston_pusher=1},
groups = {piston_pusher=1, not_in_creative_inventory=1},
is_ground_content = false,
after_destruct = piston_remove_base,
diggable = false,
@ -837,7 +837,7 @@ minetest.register_node("mesecons_pistons:piston_down_pusher_sticky", {
},
paramtype = "light",
paramtype2 = "facedir",
groups = {piston_pusher=2},
groups = {piston_pusher=2, not_in_creative_inventory=1},
is_ground_content = false,
after_destruct = piston_remove_base,
diggable = false,