make default trees decay again

master
Milan* 2017-09-13 11:48:09 +02:00
parent cf46b630ae
commit 7f3a4700e5
1 changed files with 7 additions and 1 deletions

View File

@ -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
})