From 8e9c5b7039f4f6d6112a23cd1e1d5d745a595dc6 Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Sat, 30 Sep 2017 14:32:49 +1000 Subject: [PATCH] Fix doing /static tree rainforest 16, causing branches to be drawn from the tree to the previous trees drawn. (thanks Basicaneer) This issue occurred with any procedural tree --- MCGalaxy/Generator/Foliage/ForesterTrees.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/MCGalaxy/Generator/Foliage/ForesterTrees.cs b/MCGalaxy/Generator/Foliage/ForesterTrees.cs index 59e68fc14..2eb6dc00e 100644 --- a/MCGalaxy/Generator/Foliage/ForesterTrees.cs +++ b/MCGalaxy/Generator/Foliage/ForesterTrees.cs @@ -315,6 +315,7 @@ namespace MCGalaxy.Generator.Foliage { // TODO: fCraft is yEnd - 1, ???? // Outdated, since maps can be twice as tall now. + foliage_coords.Clear(); for (int y = yend; y != ystart; y--) for (int i = 0; i < num_of_clusters_per_y; i++) {