From 7f3a4700e56a775175b00ec4cf8bb92d43389740 Mon Sep 17 00:00:00 2001 From: Milan* Date: Wed, 13 Sep 2017 11:48:09 +0200 Subject: [PATCH] make default trees decay again --- banana.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/banana.lua b/banana.lua index fce1ac8..ab868f7 100644 --- a/banana.lua +++ b/banana.lua @@ -69,8 +69,14 @@ minetest.register_node("farming:banana", { on_use = minetest.item_eat(6), }) +-- to note is default:leaves here as this +-- leafdecay registration conflicts with +-- default trees because we have the +-- default:tree in here - this makes +-- the regular trees not decay anymore. + default.register_leafdecay({ trunks = {"default:tree"}, - leaves = {"farming:banana_leaves"}, + leaves = {"farming:banana_leaves", "default:leaves"}, radius = 3 })