From 7992670d2065e4e43d2cb6bc71bc0d9a121f7123 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikita=20Wi=C5=9Bniewski?= <rudzik8@protonmail.com> Date: Sat, 11 Jan 2025 21:19:14 +0700 Subject: [PATCH] Fix piston pushers not being not_in_creative_inventory=1 --- mods/ITEMS/REDSTONE/mesecons_pistons/init.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mods/ITEMS/REDSTONE/mesecons_pistons/init.lua b/mods/ITEMS/REDSTONE/mesecons_pistons/init.lua index 57272317e..eab945a31 100644 --- a/mods/ITEMS/REDSTONE/mesecons_pistons/init.lua +++ b/mods/ITEMS/REDSTONE/mesecons_pistons/init.lua @@ -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,