Fix vanilla giant jungle trees causing cascading generation (#4652)

This commit is contained in:
Joseph C. Sible 2018-01-04 23:30:41 -05:00 committed by LexManos
parent 9a2ebd45d7
commit d4ade990e3
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
--- ../src-base/minecraft/net/minecraft/world/gen/feature/WorldGenerator.java
+++ ../src-work/minecraft/net/minecraft/world/gen/feature/WorldGenerator.java
@@ -33,7 +33,8 @@
}
else
{
- p_175903_1_.func_180501_a(p_175903_2_, p_175903_3_, 2);
+ int flag = net.minecraftforge.common.ForgeModContainer.fixVanillaCascading ? 2| 16 : 2; //Forge: With bit 5 unset, it will notify neighbors and load adjacent chunks.
+ p_175903_1_.func_180501_a(p_175903_2_, p_175903_3_, flag);
}
}
}