mirror of
				https://github.com/luanti-org/minetest_game.git
				synced 2025-11-04 01:05:49 +01:00 
			
		
		
		
	Prevent potential crash caused by moss growth ABM
This commit is contained in:
		@@ -560,7 +560,9 @@ minetest.register_abm({
 | 
			
		||||
	catch_up = false,
 | 
			
		||||
	action = function(pos, node)
 | 
			
		||||
		node.name = moss_correspondences[node.name]
 | 
			
		||||
		minetest.set_node(pos, node)
 | 
			
		||||
		if node.name then
 | 
			
		||||
			minetest.set_node(pos, node)
 | 
			
		||||
		end
 | 
			
		||||
	end
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user