Recalculate chunk height map minimum on load (#4453)

This commit is contained in:
Ben Staddon authored and LexManos committed 2017-10-31 10:57:48 -07:00
1 parent 61dea7f4c0
commit 0bf82697bb
1 file changed
+9 -1
@@ -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;
}