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:
parent
0764000d99
commit
90e9f75268
1
init.lua
1
init.lua
|
@ -81,6 +81,7 @@ dofile(modpath.."/callbacks.lua")
|
||||||
dofile(modpath.."/register.lua")
|
dofile(modpath.."/register.lua")
|
||||||
|
|
||||||
if minetest.setting_getbool("unified_inventory_bags") ~= false then
|
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")
|
dofile(modpath.."/bags.lua")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue