From 3912928a1a3dbf65f770e691642e30eb6b939c1f Mon Sep 17 00:00:00 2001 From: AFCMS Date: Sat, 12 Jun 2021 15:14:32 +0200 Subject: [PATCH] fix on def beeing in creative inventory --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 8194b82..cd03124 100644 --- a/init.lua +++ b/init.lua @@ -105,9 +105,9 @@ end if has_mcl_core then --on_def.groups = {cracky = 2, mesecon_detector_off = 1, mesecon = 2} - on_def.groups = {handy = 1, mesecon_detector_on = 1, mesecon = 2} + on_def.groups = {handy = 1, mesecon_detector_on = 1, mesecon = 2, not_in_creative_inventory = 1} else - on_def.groups = {cracky = 2, mesecon_detector_on = 1, mesecon = 2} + on_def.groups = {cracky = 2, mesecon_detector_on = 1, mesecon = 2, not_in_creative_inventory = 1} end minetest.register_node("mesecons_onlinedetector:online_detector_on", on_def)