Commits
95 95 | + } else if (worldgentreeabstract == TreeFeatures.MEGA_JUNGLE_TREE) { |
96 96 | + BlockSapling.treeType = TreeType.JUNGLE; |
97 97 | + } else if (worldgentreeabstract == TreeFeatures.AZALEA_TREE) { |
98 98 | + BlockSapling.treeType = TreeType.AZALEA; |
99 99 | + } else if (worldgentreeabstract == TreeFeatures.MANGROVE) { |
100 100 | + BlockSapling.treeType = TreeType.MANGROVE; |
101 101 | + } else if (worldgentreeabstract == TreeFeatures.TALL_MANGROVE) { |
102 102 | + BlockSapling.treeType = TreeType.TALL_MANGROVE; |
103 103 | + } else if (worldgentreeabstract == TreeFeatures.CHERRY || worldgentreeabstract == TreeFeatures.CHERRY_BEES_005) { |
104 104 | + BlockSapling.treeType = TreeType.CHERRY; |
105 - | + } else if (worldgentreeabstract == TreeFeatures.PALE_OAK) { |
105 + | + } else if (worldgentreeabstract == TreeFeatures.PALE_OAK || worldgentreeabstract == TreeFeatures.PALE_OAK_BONEMEAL) { |
106 106 | + BlockSapling.treeType = TreeType.PALE_OAK; |
107 107 | + } else if (worldgentreeabstract == TreeFeatures.PALE_OAK_CREAKING) { |
108 108 | + BlockSapling.treeType = TreeType.PALE_OAK_CREAKING; |
109 109 | + } else { |
110 110 | + throw new IllegalArgumentException("Unknown tree generator " + worldgentreeabstract); |
111 111 | + } |
112 112 | + } |
113 113 | + // CraftBukkit end |
114 114 | + |
115 115 | static { |