diff --git a/mods/default/functions.lua b/mods/default/functions.lua
index cd4477b4138fd40f37ca997faf1dce39ebdfbb15..3525c1a8abdce3484d135a02bff3424d9bb36bde 100644
--- a/mods/default/functions.lua
+++ b/mods/default/functions.lua
@@ -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