Show screwdriver in creative inventory

This commit is contained in:
Nils Dagsson Moskopp 2021-06-22 00:16:57 +02:00
parent 87761bf454
commit 0b92dc1f26
Signed by untrusted user who does not match committer: erle
GPG Key ID: A3BC671C35191080
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ minetest.register_tool("screwdriver:screwdriver", {
description = S("Screwdriver"), description = S("Screwdriver"),
inventory_image = "screwdriver.png", inventory_image = "screwdriver.png",
wield_image = "screwdriver.png^[transformFX", wield_image = "screwdriver.png^[transformFX",
groups = { tool = 1, not_in_creative_inventory = 1 }, groups = { tool = 1 },
on_use = function(itemstack, user, pointed_thing) on_use = function(itemstack, user, pointed_thing)
screwdriver.handler(itemstack, user, pointed_thing, screwdriver.ROTATE_FACE, 200) screwdriver.handler(itemstack, user, pointed_thing, screwdriver.ROTATE_FACE, 200)
return itemstack return itemstack