summaryrefslogtreecommitdiff
path: root/node_defs.lua
diff options
context:
space:
mode:
Diffstat (limited to 'node_defs.lua')
-rw-r--r--node_defs.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/node_defs.lua b/node_defs.lua
index c832b6d..a69fe53 100644
--- a/node_defs.lua
+++ b/node_defs.lua
@@ -134,8 +134,11 @@ for i in ipairs(trees) do
table.insert(moretrees.avoidnodes, "moretrees:"..treename.."_trunk")
table.insert(moretrees.avoidnodes, "moretrees:"..treename.."_leaves")
- table.insert(moretrees.leaves_list, "moretrees:"..treename.."_leaves")
table.insert(moretrees.trunks_list, "moretrees:"..treename.."_trunk")
+ if treename ~= "palm" then
+ table.insert(moretrees.leaves_list, "moretrees:"..treename.."_leaves")
+ end
+
end
-- Extra leaves for jungle trees: