[Bleeding] Completely fix the tree generation algorithm to make it near identical to vanilla as well as fix potential bugs associated with disappearing saplings.

This commit is contained in:
md_5
2012-03-16 17:32:25 +11:00
committed by EvilSeph
parent ea60181a87
commit 7966531113
7 changed files with 49 additions and 35 deletions

View File

@@ -4,7 +4,7 @@ import java.util.Random;
import org.bukkit.BlockChangeDelegate; // CraftBukkit
public class WorldGenForest extends WorldGenerator {
public class WorldGenForest extends WorldGenerator implements BlockSapling.TreeGenerator { // CraftBukkit add interface
public WorldGenForest(boolean flag) {
super(flag);