Skip to content

Commit 1c78666

Browse files
An0n3m0ussfan5
authored andcommitted
Reclassify some items
1 parent 8158926 commit 1c78666

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

mods/binoculars/init.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ minetest.register_craftitem("binoculars:binoculars", {
5353
description = S("Binoculars") .. "\n" .. S("Use with 'Zoom' key"),
5454
inventory_image = "binoculars_binoculars.png",
5555
stack_max = 1,
56+
groups = {tool = 1},
5657

5758
on_use = function(itemstack, user, pointed_thing)
5859
binoculars.update_player_property(user)

mods/map/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ minetest.register_craftitem("map:mapping_kit", {
5151
description = S("Mapping Kit") .. "\n" .. S("Use with 'Minimap' key"),
5252
inventory_image = "map_mapping_kit.png",
5353
stack_max = 1,
54-
groups = {flammable = 3},
54+
groups = {flammable = 3, tool = 1},
5555

5656
on_use = function(itemstack, user, pointed_thing)
5757
map.update_hud_flags(user)

0 commit comments

Comments
 (0)