mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-22 16:09:33 +01:00
make screwdriver available in creative mode, too (#4743)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4743 Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land> Co-authored-by: kno10 <erich.schubert@gmail.com> Co-committed-by: kno10 <erich.schubert@gmail.com>
This commit is contained in:
parent
2120110845
commit
38dd086d2e
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,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
|
||||||
|
|
Loading…
Reference in a new issue