[Bleeding] Correct issues with MEGA_REDWOOD trees. Fixes BUKKIT-5568

In commit 6efeddfe57, TALL_REDWOOD was used instead of the proper TreeType
of MEGA_REDWOOD. Additionally, this fixes an issue in CraftWorld with an
improper boolean flag related to the generation of MEGA_REDWOOD trees.

By: GJ <gjmcferrin@gmail.com>
This commit is contained in:
CraftBukkit/Spigot 2014-04-28 09:49:33 -04:00
parent 741ad9885f
commit 56003af2f2

View File

@ -393,7 +393,7 @@ public class CraftWorld implements World {
gen = new WorldGenForestTree(true);
break;
case MEGA_REDWOOD:
gen = new WorldGenMegaTree(true, rand.nextBoolean());
gen = new WorldGenMegaTree(false, rand.nextBoolean());
break;
case TALL_BIRCH:
gen = new WorldGenForest(true, true);