From 0bf82697bb89a045b7204481b61b3d296d77976f Mon Sep 17 00:00:00 2001 From: Ben Staddon Date: Tue, 31 Oct 2017 17:57:48 +0000 Subject: [PATCH] Recalculate chunk height map minimum on load (#4453) --- .../net/minecraft/world/chunk/Chunk.java.patch | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/patches/minecraft/net/minecraft/world/chunk/Chunk.java.patch b/patches/minecraft/net/minecraft/world/chunk/Chunk.java.patch index fc73782f68..c06d37cf59 100644 --- a/patches/minecraft/net/minecraft/world/chunk/Chunk.java.patch +++ b/patches/minecraft/net/minecraft/world/chunk/Chunk.java.patch @@ -300,7 +300,15 @@ { this.field_76637_e.func_175664_x(blockpos$mutableblockpos); } -@@ -1489,4 +1509,52 @@ +@@ -1420,6 +1440,7 @@ + else + { + System.arraycopy(p_177420_1_, 0, this.field_76634_f, 0, this.field_76634_f.length); ++ this.field_82912_p = com.google.common.primitives.Ints.min(this.field_76634_f); // Forge: fix MC-117412 + } + } + +@@ -1489,4 +1510,52 @@ QUEUED, CHECK; }