mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-18 22:03:51 -07:00
SPIGOT-4160: StructureGrowEvent not triggering for giant trees
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
|
||||
public abstract class WorldGenTreeProvider {
|
||||
|
||||
@@ -16,6 +17,29 @@
|
||||
@@ -16,6 +17,25 @@
|
||||
if (worldgentreeabstract == null) {
|
||||
return false;
|
||||
} else {
|
||||
@@ -21,10 +21,6 @@
|
||||
+ BlockSapling.treeType = TreeType.BIRCH;
|
||||
+ } else if (worldgentreeabstract instanceof WorldGenForestTree) {
|
||||
+ BlockSapling.treeType = TreeType.DARK_OAK;
|
||||
+ } else if (worldgentreeabstract instanceof WorldGenJungleTree) {
|
||||
+ BlockSapling.treeType = TreeType.JUNGLE;
|
||||
+ } else if (worldgentreeabstract instanceof WorldGenMegaTree) {
|
||||
+ BlockSapling.treeType = TreeType.MEGA_REDWOOD;
|
||||
+ } else if (worldgentreeabstract instanceof WorldGenTaiga1) {
|
||||
+ BlockSapling.treeType = TreeType.REDWOOD;
|
||||
+ } else if (worldgentreeabstract instanceof WorldGenTaiga2) {
|
||||
|
Reference in New Issue
Block a user