forked from minetest-mods/stained_glass
		
	don't run LBM at every load
This commit is contained in:
		
							
								
								
									
										2
									
								
								init.lua
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								init.lua
									
									
									
									
									
								
							@@ -451,7 +451,7 @@ end
 | 
				
			|||||||
minetest.register_lbm({
 | 
					minetest.register_lbm({
 | 
				
			||||||
	name = "stained_glass:convert_brickblocks",
 | 
						name = "stained_glass:convert_brickblocks",
 | 
				
			||||||
	label = "Convert static glass blocks to use param2 color",
 | 
						label = "Convert static glass blocks to use param2 color",
 | 
				
			||||||
	run_at_every_load = true,
 | 
						run_at_every_load = false,
 | 
				
			||||||
	nodenames = stainedglass.old_static_nodes,
 | 
						nodenames = stainedglass.old_static_nodes,
 | 
				
			||||||
	action = function(pos, node)
 | 
						action = function(pos, node)
 | 
				
			||||||
		local name = node.name
 | 
							local name = node.name
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user