From d16f5b00fe7ff7ff938dedc83f4f1cd8286cbd7d Mon Sep 17 00:00:00 2001 From: h-v-smacker Date: Mon, 30 Apr 2018 19:04:57 +0300 Subject: bonemeal integration --- init.lua | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'init.lua') diff --git a/init.lua b/init.lua index 76c814c..93a9cf4 100644 --- a/init.lua +++ b/init.lua @@ -147,3 +147,11 @@ minetest.register_craft({ recipe = "maple:fence_maple_wood", burntime = 8, }) + + +-- integration with bonemeal +if minetest.get_modpath("bonemeal") then + bonemeal:add_sapling({ + {"maple:maple_sapling", maple.grow_sapling, "soil"}, + }) +end \ No newline at end of file -- cgit v1.2.3