From febcb96bb0cf28aa80af9333fa8e0a264c07a1d7 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 11 Dec 2019 04:53:01 +0100 Subject: [PATCH] Hide screwdriver --- mods/ITEMS/screwdriver/init.lua | 2 +- mods/MISC/mcl_wip/init.lua | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/mods/ITEMS/screwdriver/init.lua b/mods/ITEMS/screwdriver/init.lua index ca77e40005..17d2706d1f 100644 --- a/mods/ITEMS/screwdriver/init.lua +++ b/mods/ITEMS/screwdriver/init.lua @@ -147,7 +147,7 @@ end minetest.register_tool("screwdriver:screwdriver", { description = S("Screwdriver"), inventory_image = "screwdriver.png", - groups = { tool = 1 }, + groups = { tool = 1, not_in_creative_inventory = 1 }, on_use = function(itemstack, user, pointed_thing) screwdriver.handler(itemstack, user, pointed_thing, screwdriver.ROTATE_FACE, 200) return itemstack diff --git a/mods/MISC/mcl_wip/init.lua b/mods/MISC/mcl_wip/init.lua index 4f8f0a562f..03d33849d7 100644 --- a/mods/MISC/mcl_wip/init.lua +++ b/mods/MISC/mcl_wip/init.lua @@ -15,6 +15,7 @@ local wip_items = { "mobs_mc:wither", "mobs_mc:parrot", "mobs_mc:witch", + "screwdriver:screwdriver", } local experimental_items = { }