make moretrees:jungletree_trunk drop default:jungletree

This commit is contained in:
flux 2019-10-03 18:10:58 +00:00 committed by Vanessa Dannenberg
parent 216acdc6b1
commit d097fd6044

View File

@ -360,6 +360,7 @@ end
-- we need our own copy of that node, which moretrees will match against. -- we need our own copy of that node, which moretrees will match against.
local jungle_tree = table.copy(minetest.registered_nodes["default:jungletree"]) local jungle_tree = table.copy(minetest.registered_nodes["default:jungletree"])
jungle_tree.drop = "default:jungletree"
minetest.register_node("moretrees:jungletree_trunk", jungle_tree) minetest.register_node("moretrees:jungletree_trunk", jungle_tree)
default.register_leafdecay({ default.register_leafdecay({