From 47834a8d890c862d37d5d045664d292d34928650 Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Wed, 27 Aug 2014 19:25:42 -0400 Subject: [PATCH] Make tree trunks grow through leaves of their kind --- mods/default/trees.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/default/trees.lua b/mods/default/trees.lua index 2501c116..5752fe0d 100644 --- a/mods/default/trees.lua +++ b/mods/default/trees.lua @@ -57,7 +57,7 @@ local function add_trunk_and_leaves(data, a, pos, tree_cid, leaves_cid, -- Trunk for y_dist = 0, height - 1 do local vi = a:index(x, y + y_dist, z) - if y_dist == 0 or data[vi] == c_air then + if y_dist == 0 or data[vi] == c_air or data[vi] == leaves_cid then data[vi] = tree_cid end end