From f14240d3343cbe4fd05404b6e1f1fa018defea00 Mon Sep 17 00:00:00 2001
From: TenPlus1 <kinsellaja@yahoo.com>
Date: Sat, 17 Jun 2017 21:20:05 +0100
Subject: [PATCH] healing tree's grow on any soil

---
 sapling.lua | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/sapling.lua b/sapling.lua
index b8e3732..0f44768 100644
--- a/sapling.lua
+++ b/sapling.lua
@@ -160,7 +160,8 @@ ethereal.grow_sapling = function (pos, node)
 
 	-- Check if Ethereal Sapling is growing on correct substrate
 	if node.name == "ethereal:yellow_tree_sapling"
-	and under == "default:dirt_with_snow" then
+--	and under == "default:dirt_with_snow" then
+	and minetest.get_item_group(under, "soil") > 0 then
 		ethereal.grow_yellow_tree(pos)
 
 	elseif node.name == "ethereal:big_tree_sapling"
@@ -213,8 +214,8 @@ end
 minetest.register_abm({
 	label = "Ethereal grow sapling",
 	nodenames = {"group:ethereal_sapling"},
-	interval = 10,
-	chance = 50,
+	interval = 1,--10,
+	chance = 1,--50,
 	catch_up = false,
 	action = function(pos, node)
 
-- 
GitLab