Skip to content

Commit cee85d9

Browse files
include implicit tools in tools category (mirror)
mirrors minetest-mods/unified_inventory#265
1 parent 3ba4969 commit cee85d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mods/unified_inventory/default-categories.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ local function register_automatic_categorization()
6969
then
7070
unified_inventory.add_category_item('organics', name)
7171
end
72-
if def.type == 'tool' then
72+
if def.type == 'tool' or def.tool_capabilities then
7373
unified_inventory.add_category_item('tools', name)
7474
end
7575
if string.sub(name, 1, #"sbz_decor") == "sbz_decor" or def.mod_origin == "sbz_decor" then

0 commit comments

Comments
 (0)