From d0965a867d94d47f09c3f533a4bc47cfb8df8750 Mon Sep 17 00:00:00 2001 From: Rogier Date: Tue, 3 Nov 2015 12:30:13 +0100 Subject: [PATCH] Fix apples not regrowing --- nature_classic/blossom.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nature_classic/blossom.lua b/nature_classic/blossom.lua index 3ae25cb..37710a6 100644 --- a/nature_classic/blossom.lua +++ b/nature_classic/blossom.lua @@ -68,7 +68,7 @@ minetest.register_abm({ chance = nature.apple_chance, action = function(pos, node, active_object_count, active_object_count_wider) - if math.random(10) == 0 and nature.dtime < 0.2 and not minetest.find_node_near(pos, nature.apple_spread, { "default:apple" }) then + if math.random(10) == 1 and nature.dtime < 0.2 and not minetest.find_node_near(pos, nature.apple_spread, { "default:apple" }) then spawn_apple_under(pos) end end