From 6e290bb2ae56acc9a6d8b7cc19e1f8576265c1c1 Mon Sep 17 00:00:00 2001 From: tenplus1 Date: Sun, 4 Jan 2015 12:01:08 +0000 Subject: Bugfix --- flowers.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'flowers.lua') diff --git a/flowers.lua b/flowers.lua index 1979599..0b340eb 100644 --- a/flowers.lua +++ b/flowers.lua @@ -18,7 +18,8 @@ minetest.register_abm({ if #minetest.find_nodes_in_area(pos0, pos1, "group:flora") > 3 then local crystal = minetest.find_nodes_in_area(pos0, pos1, {"ethereal:crystalgrass"}) - if #crystal > 6 then + local frost = minetest.find_nodes_in_area(pos0, pos1, {"ethereal:frost_tree"}) + if #crystal > 10 and #frost > 10 then local ppos = crystal[1] ppos.y = ppos.y - 1 local nod = minetest.get_node(ppos).name -- cgit v1.2.3