summaryrefslogtreecommitdiff
path: root/node_defs.lua
diff options
context:
space:
mode:
Diffstat (limited to 'node_defs.lua')
-rw-r--r--node_defs.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/node_defs.lua b/node_defs.lua
index 724133f..c49cf7c 100644
--- a/node_defs.lua
+++ b/node_defs.lua
@@ -374,9 +374,9 @@ minetest.register_node("moretrees:fir_leaves_bright", {
})
if moretrees.enable_redefine_apple then
- minetest.override_item("default:apple",
- {groups = { fleshy=3, dig_immediate=3, flammable=2, leafdecay=3, leafdecay_drop=1, attached_node = 1}
- })
+ local appledef = moretrees.clone_node("default:apple")
+ appledef.groups.attached_node = 1
+ minetest.register_node(":default:apple", appledef)
end
table.insert(moretrees.avoidnodes, "default:jungletree")