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
This commit is contained in:
UnknownShadow200 2017-09-30 14:32:49 +10:00
parent 9113bcc344
commit 8e9c5b7039

View File

@ -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++)
{