1
0
forked from xjboss/KCauldronX
KCauldronX/patches/net/minecraft/world/gen/ChunkProviderGenerate.java.patch
2017-07-13 22:47:42 +08:00

11 lines
550 B
Diff

--- ../src-base/minecraft/net/minecraft/world/gen/ChunkProviderGenerate.java
+++ ../src-work/minecraft/net/minecraft/world/gen/ChunkProviderGenerate.java
@@ -194,6 +194,7 @@
for (int l = 0; l < 16; ++l)
{
BiomeGenBase biomegenbase = p_147422_5_[l + k * 16];
+ if(biomegenbase==null) continue;
biomegenbase.genTerrainBlocks(this.worldObj, this.rand, p_147422_3_, p_147422_4_, p_147422_1_ * 16 + k, p_147422_2_ * 16 + l, this.stoneNoise[l + k * 16]);
}
}