mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-05 02:22:12 +01:00
SPIGOT-7737: Add separate TreeType.MEGA_PINE
By: md_5 <git@md-5.net>
This commit is contained in:
parent
92a9fb31be
commit
1ded727925
2 changed files with 4 additions and 1 deletions
|
@ -91,7 +91,7 @@
|
||||||
+ } else if (worldgentreeabstract == TreeFeatures.MEGA_SPRUCE) {
|
+ } else if (worldgentreeabstract == TreeFeatures.MEGA_SPRUCE) {
|
||||||
+ BlockSapling.treeType = TreeType.MEGA_REDWOOD;
|
+ BlockSapling.treeType = TreeType.MEGA_REDWOOD;
|
||||||
+ } else if (worldgentreeabstract == TreeFeatures.MEGA_PINE) {
|
+ } else if (worldgentreeabstract == TreeFeatures.MEGA_PINE) {
|
||||||
+ BlockSapling.treeType = TreeType.MEGA_REDWOOD;
|
+ BlockSapling.treeType = TreeType.MEGA_PINE;
|
||||||
+ } else if (worldgentreeabstract == TreeFeatures.MEGA_JUNGLE_TREE) {
|
+ } else if (worldgentreeabstract == TreeFeatures.MEGA_JUNGLE_TREE) {
|
||||||
+ BlockSapling.treeType = TreeType.JUNGLE;
|
+ BlockSapling.treeType = TreeType.JUNGLE;
|
||||||
+ } else if (worldgentreeabstract == TreeFeatures.AZALEA_TREE) {
|
+ } else if (worldgentreeabstract == TreeFeatures.AZALEA_TREE) {
|
||||||
|
|
|
@ -244,6 +244,9 @@ public abstract class CraftRegionAccessor implements RegionAccessor {
|
||||||
gen = TreeFeatures.DARK_OAK;
|
gen = TreeFeatures.DARK_OAK;
|
||||||
break;
|
break;
|
||||||
case MEGA_REDWOOD:
|
case MEGA_REDWOOD:
|
||||||
|
gen = TreeFeatures.MEGA_SPRUCE;
|
||||||
|
break;
|
||||||
|
case MEGA_PINE:
|
||||||
gen = TreeFeatures.MEGA_PINE;
|
gen = TreeFeatures.MEGA_PINE;
|
||||||
break;
|
break;
|
||||||
case TALL_BIRCH:
|
case TALL_BIRCH:
|
||||||
|
|
Loading…
Reference in a new issue