From e18b6c24d5e273d1a16d2a25089281dc3223f6ab Mon Sep 17 00:00:00 2001 From: LoneWolfHT Date: Wed, 3 Apr 2019 15:11:45 -0700 Subject: [PATCH] Remove notices from creative inven --- init.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init.lua b/init.lua index bdbda2b..7ae6625 100644 --- a/init.lua +++ b/init.lua @@ -151,6 +151,7 @@ minetest.register_craftitem("grenades:notice_flashbang", { "Once the mod is added you can punch the air with this notice to turn it into the grenade it was before", range = 0, inventory_image = "grenades_notice.png", + groups = {not_in_creative_inventory = 1}, stack_max = 1, on_use = function() if minetest.get_modpath("grenades_basic") then @@ -166,6 +167,7 @@ minetest.register_craftitem("grenades:notice_regular", { "your items\n".. "Once the mod is added you can punch the air with this notice to turn it into the grenade it was before", inventory_image = "grenades_notice.png", + groups = {not_in_creative_inventory = 1}, range = 0, stack_max = 1, on_use = function() @@ -182,6 +184,7 @@ minetest.register_craftitem("grenades:notice_smoke", { "Once the mod is added you can punch the air with this notice to turn it into the grenade it was before", range = 0, inventory_image = "grenades_notice.png", + groups = {not_in_creative_inventory = 1}, stack_max = 1, on_use = function() if minetest.get_modpath("grenades_basic") then