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:
		
							
								
								
									
										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")
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user