mirror of
				https://github.com/luanti-org/minetest_game.git
				synced 2025-11-04 09:15:29 +01:00 
			
		
		
		
	Default/functions: Fix cacti not growing when rotation is 1-3
This commit is contained in:
		@@ -124,7 +124,7 @@ minetest.register_abm({
 | 
			
		||||
--
 | 
			
		||||
 | 
			
		||||
function default.grow_cactus(pos, node)
 | 
			
		||||
	if node.param2 ~= 0 then
 | 
			
		||||
	if node.param2 >= 4 then
 | 
			
		||||
		return
 | 
			
		||||
	end
 | 
			
		||||
	pos.y = pos.y-1
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user