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

By: BlackHole <black-hole@live.com>
This commit is contained in:
CraftBukkit/Spigot 2013-12-14 22:54:24 -07:00
parent ac80608acd
commit dba782de8d

View file

@ -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);