From bb6be97c046a1f3155f2281f94b1938b08ea1507 Mon Sep 17 00:00:00 2001 From: crabman77 Date: Fri, 3 Jul 2015 20:28:22 +0200 Subject: [PATCH] Default/functions: Fix cacti not growing when rotation is 1-3 --- minetestforfun_game/mods/default/functions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minetestforfun_game/mods/default/functions.lua b/minetestforfun_game/mods/default/functions.lua index d14ef471..813dd61a 100755 --- a/minetestforfun_game/mods/default/functions.lua +++ b/minetestforfun_game/mods/default/functions.lua @@ -224,7 +224,7 @@ minetest.register_abm({ -- wrapping the functions in abm action is necessary to make overriding them possible function default.grow_cactus(pos, node) - if node.param2 ~= 0 then + if node.param2 >= 4 then return end pos.y = pos.y - 1