From 15861edb0d34f191770f19598357f7dbd0838a53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=81=AA=E8=81=AA?= <178666380@qq.com> Date: Thu, 13 Jul 2017 22:47:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0null=E6=A3=80=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../world/gen/ChunkProviderGenerate.java.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 patches/net/minecraft/world/gen/ChunkProviderGenerate.java.patch diff --git a/patches/net/minecraft/world/gen/ChunkProviderGenerate.java.patch b/patches/net/minecraft/world/gen/ChunkProviderGenerate.java.patch new file mode 100644 index 0000000..40d7782 --- /dev/null +++ b/patches/net/minecraft/world/gen/ChunkProviderGenerate.java.patch @@ -0,0 +1,10 @@ +--- ../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]); + } + }