diff options
author | BlackHole <black-hole@live.com> | 2013-12-14 17:54:55 -0700 |
---|---|---|
committer | Nate Mortensen <nate.richard.mortensen@gmail.com> | 2013-12-16 19:44:03 -0700 |
commit | 2191599f4b70635e39ef85cde3c852a5c468acb6 (patch) | |
tree | ce1e33e91db025a605144af11d7dcb2607bd3e54 | |
parent | cee6a7bab52ebb33c17a76b2b81891111e2f9d93 (diff) | |
download | craftbukkit-2191599f4b70635e39ef85cde3c852a5c468acb6.tar craftbukkit-2191599f4b70635e39ef85cde3c852a5c468acb6.tar.gz craftbukkit-2191599f4b70635e39ef85cde3c852a5c468acb6.tar.lz craftbukkit-2191599f4b70635e39ef85cde3c852a5c468acb6.tar.xz craftbukkit-2191599f4b70635e39ef85cde3c852a5c468acb6.zip |
Fix generation of jungle trees. Fixes BUKKIT-5043
Due to changes in the generation of trees, the name of the class responsible
for the generation of jungle trees has changed from WorldGenMegaTree to
WorldGenJungleTree. As such, references to WorldGenMegaTree need to be
updated to WorldGenJungleTree to generate the correct type of tree.
Pulled from PR #1277
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/CraftWorld.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java index 5626e981..ed5dbb5f 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java @@ -370,7 +370,7 @@ public class CraftWorld implements World { gen = new WorldGenTaiga1(); break; case JUNGLE: - gen = new WorldGenMegaTree(true, rand.nextBoolean()); + gen = new WorldGenJungleTree(true, 10, 20, 3, 3); // Magic values as in BlockSapling break; case SMALL_JUNGLE: gen = new WorldGenTrees(true, 4 + rand.nextInt(7), 3, 3, false); |