mirror of
				https://github.com/mt-mods/pipeworks.git
				synced 2025-11-04 12:55:32 +01:00 
			
		
		
		
	Fix Undeclared global variable "unified_inventory"
This commit is contained in:
		
							
								
								
									
										2
									
								
								init.lua
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								init.lua
									
									
									
									
									
								
							@@ -151,7 +151,7 @@ minetest.register_alias("pipeworks:pipe", "pipeworks:pipe_110000_empty")
 | 
			
		||||
 | 
			
		||||
-- Unified Inventory categories integration
 | 
			
		||||
 | 
			
		||||
if unified_inventory and unified_inventory.registered_categories then
 | 
			
		||||
if minetest.global_exists("unified_inventory") and unified_inventory.registered_categories then
 | 
			
		||||
	if not unified_inventory.registered_categories["automation"] then
 | 
			
		||||
		unified_inventory.register_category("automation", {
 | 
			
		||||
			symbol = "pipeworks:lua_tube000000",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user