To make life easier for minetest server admin

To remind the admin that he can disable the bags button without changing the files of unified_inventory.
This commit is contained in:
Lunovox 2017-03-16 12:04:23 -03:00 committed by GitHub
parent 0764000d99
commit 90e9f75268
1 changed files with 1 additions and 0 deletions

View File

@ -81,6 +81,7 @@ dofile(modpath.."/callbacks.lua")
dofile(modpath.."/register.lua")
if minetest.setting_getbool("unified_inventory_bags") ~= false then
minetest.setting_set("unified_inventory_bags", "true") --<== To remind the admin that he can disable the bags button without changing the files of unified_inventory.
dofile(modpath.."/bags.lua")
end