2013-12-13 01:10:33 +01:00
|
|
|
From 51c0917dc84e00dc6d81614b6b6513b6f8a2c1f6 Mon Sep 17 00:00:00 2001
|
2013-12-06 07:16:42 +01:00
|
|
|
From: md_5 <md_5@live.com.au>
|
|
|
|
Date: Fri, 6 Dec 2013 17:16:32 +1100
|
|
|
|
Subject: [PATCH] Fix Jungle Tree Generation
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
|
|
|
|
index 0f21e89..291c044 100644
|
|
|
|
--- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
|
|
|
|
+++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
|
|
|
|
@@ -373,7 +373,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);
|
|
|
|
--
|
|
|
|
1.8.3.2
|
|
|
|
|