1
0
forked from xjboss/KCauldronX
KCauldronX/patches/net/minecraft/world/gen/ChunkProviderGenerate.java.patch

11 lines
550 B
Diff
Raw Permalink Normal View History

2017-07-13 14:47:42 +00:00
--- ../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]);
}
}