forked from minetest-mods/unified_inventory
allow user to disable bags
via minetest.conf --> unified_inventory_bags = false (default is to enable)
This commit is contained in:
parent
4a22f8e4da
commit
e6c380d8c5
5
init.lua
5
init.lua
|
@ -76,7 +76,10 @@ dofile(modpath.."/api.lua")
|
|||
dofile(modpath.."/internal.lua")
|
||||
dofile(modpath.."/callbacks.lua")
|
||||
dofile(modpath.."/register.lua")
|
||||
dofile(modpath.."/bags.lua")
|
||||
|
||||
if minetest.setting_getbool("unified_inventory_bags") ~= false then
|
||||
dofile(modpath.."/bags.lua")
|
||||
end
|
||||
|
||||
dofile(modpath.."/item_names.lua")
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user