SPIGOT-4160: StructureGrowEvent not triggering for giant trees
By: md_5 <git@md-5.net>
This commit is contained in:
parent
5bdad5e046
commit
63ec61fc4a
2 changed files with 27 additions and 5 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue