diff options
author | zml2008 <zach@zachsthings.com> | 2012-03-13 19:38:39 -0700 |
---|---|---|
committer | EvilSeph <evilseph@gmail.com> | 2012-03-21 20:32:17 -0400 |
commit | 8aee4c3f563f8a6e5e2f5b3233c25097487bf6c4 (patch) | |
tree | 93b30ead7171fb8bc06644f0bb7a30d8aab31b78 /src/main/java/net/minecraft/server/BlockSapling.java | |
parent | 27acb4c41e118a696b001770a16bd84020a26f36 (diff) | |
download | craftbukkit-8aee4c3f563f8a6e5e2f5b3233c25097487bf6c4.tar craftbukkit-8aee4c3f563f8a6e5e2f5b3233c25097487bf6c4.tar.gz craftbukkit-8aee4c3f563f8a6e5e2f5b3233c25097487bf6c4.tar.lz craftbukkit-8aee4c3f563f8a6e5e2f5b3233c25097487bf6c4.tar.xz craftbukkit-8aee4c3f563f8a6e5e2f5b3233c25097487bf6c4.zip |
[Bleeding] Added support for all TreeType entries to CraftWorld.generateTree(). Addresses BUKKIT-1161
Diffstat (limited to 'src/main/java/net/minecraft/server/BlockSapling.java')
-rw-r--r-- | src/main/java/net/minecraft/server/BlockSapling.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/net/minecraft/server/BlockSapling.java b/src/main/java/net/minecraft/server/BlockSapling.java index 3f437bea..67e727c7 100644 --- a/src/main/java/net/minecraft/server/BlockSapling.java +++ b/src/main/java/net/minecraft/server/BlockSapling.java @@ -78,7 +78,7 @@ public class BlockSapling extends BlockFlower { if (gen == null) { j1 = 0; i1 = 0; - treeType = TreeType.TREE; + treeType = TreeType.SMALL_JUNGLE; gen = new WorldGenTrees(false, 4 + random.nextInt(7), 3, 3, false); } } else { @@ -132,7 +132,7 @@ public class BlockSapling extends BlockFlower { } // CraftBukkit start - interface TreeGenerator { + public interface TreeGenerator { public boolean a(World world, Random random, int i, int j, int k); |