Added `unified_inventory_enable_item_names` option

This commit is contained in:
fmmaks 2023-09-29 14:49:24 +03:00 committed by GitHub
parent 5d233a0f0a
commit 29d2ef220b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -191,7 +191,8 @@ dofile(modpath.."/register.lua")
if minetest.settings:get_bool("unified_inventory_bags") ~= false then
dofile(modpath.."/bags.lua")
end
dofile(modpath.."/item_names.lua")
if minetest.settings:get_bool("unified_inventory_enable_item_names") == true then
dofile(modpath.."/item_names.lua")
end
dofile(modpath.."/waypoints.lua")
dofile(modpath.."/legacy.lua") -- mod compatibility

View File

@ -15,3 +15,5 @@ unified_inventory_hide_disabled_buttons (Hide disabled buttons) bool false
unified_inventory_automatic_categorization (Items automatically added to categories) bool true
unified_inventory_enable_item_names (Item names are shown above hotbar) bool true