From 9a6d035998b7bcc2da98e4507e1afa265d920c46 Mon Sep 17 00:00:00 2001 From: BlackHole Date: Sat, 14 Dec 2013 22:54:24 -0700 Subject: [PATCH] Add missed tree types for Minecraft 1.7. Adds BUKKIT-5042 This commit adds support for the Tree Types that weren't added in the initial update to Minecraft 1.7. Pulled from PR #1277 --- src/main/java/org/bukkit/craftbukkit/CraftWorld.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java index ed5dbb5f54..3d0383df74 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java @@ -393,6 +393,12 @@ public class CraftWorld implements World { case DARK_OAK: gen = new WorldGenForestTree(true); break; + case MEGA_REDWOOD: + gen = new WorldGenMegaTree(true, rand.nextBoolean()); + break; + case TALL_BIRCH: + gen = new WorldGenForest(true, true); + break; case TREE: default: gen = new WorldGenTrees(true);