From 4fa7ab806ccdfe96bdc6887b746f941af6f7159f Mon Sep 17 00:00:00 2001 From: sys4 Date: Sat, 4 Jan 2020 20:02:14 +0100 Subject: [PATCH] Ajoute support bonemeal --- depends.txt | 1 + init.lua | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/depends.txt b/depends.txt index c4bb68c..7dfb0a7 100644 --- a/depends.txt +++ b/depends.txt @@ -2,3 +2,4 @@ default doors? stairs? moreblocks? +bonemeal? diff --git a/init.lua b/init.lua index 01f350c..00ab8c4 100644 --- a/init.lua +++ b/init.lua @@ -401,4 +401,9 @@ elseif minetest.get_modpath("stairs") then ) end +-- Bonemeal support +if minetest.get_modpath("bonemeal") then + bonemeal:add_sapling({{"cherry_tree:cherry_sapling", grow_sapling, "soil"}}) +end + minetest.log("action", "[cherry_tree] loaded.")