diff options
author | GJ <gjmcferrin@gmail.com> | 2014-04-28 10:18:55 -0400 |
---|---|---|
committer | GJ <gjmcferrin@gmail.com> | 2014-04-28 10:18:55 -0400 |
commit | 76e6277175bfa94038fccf3f9fc346befdb4ad77 (patch) | |
tree | ba2261b24ae783675ab6bea96de76b2a89b37764 /src/main/java | |
parent | d91ee7d7ab1f4cd80bb869829bdca0d3e8c595ee (diff) | |
download | craftbukkit-76e6277175bfa94038fccf3f9fc346befdb4ad77.tar craftbukkit-76e6277175bfa94038fccf3f9fc346befdb4ad77.tar.gz craftbukkit-76e6277175bfa94038fccf3f9fc346befdb4ad77.tar.lz craftbukkit-76e6277175bfa94038fccf3f9fc346befdb4ad77.tar.xz craftbukkit-76e6277175bfa94038fccf3f9fc346befdb4ad77.zip |
[Bleeding] Allow generation of cocoa trees.
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/CraftWorld.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java index 6e170cbf..9bc72aa8 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java @@ -374,6 +374,9 @@ public class CraftWorld implements World { case SMALL_JUNGLE: gen = new WorldGenTrees(true, 4 + rand.nextInt(7), 3, 3, false); break; + case COCOA_TREE: + gen = new WorldGenTrees(true, 4 + rand.nextInt(7), 3, 3, true); + break; case JUNGLE_BUSH: gen = new WorldGenGroundBush(3, 0); break; |