allow user to disable bags

via minetest.conf --> unified_inventory_bags = false

(default is to enable)
This commit is contained in:
Vanessa Ezekowitz 2016-11-28 14:46:42 -05:00
parent 4a22f8e4da
commit e6c380d8c5

@ -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")