[moretrees] Drop default's j-tree from moreores'

- This way moretrees can generate correctly using its own node, but it drops the normal jungle tree when it's dug
This commit is contained in:
LeMagnesium 2017-07-20 18:56:35 +02:00
parent 8cf808ea83
commit 7839c16b42
1 changed files with 2 additions and 0 deletions

View File

@ -382,6 +382,8 @@ minetest.register_abm({
-- we need our own copy of that node, which moretrees will match against.
local jungle_tree = moretrees.clone_node("default:jungletree")
jungle_tree.drop = jungle_tree.drop or { items = {} }
table.insert(jungle_tree.drop.items, { items = {"default:jungletree"}})
minetest.register_node("moretrees:jungletree_trunk", jungle_tree)
-- For compatibility with old nodes, recently-changed nodes, and default nodes