3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-20 21:40:06 +01:00
Paper/nms-patches/ChunkProviderGenerate.patch
2018-12-13 11:00:00 +11:00

15 Zeilen
561 B
Diff

--- a/net/minecraft/server/ChunkProviderGenerate.java
+++ b/net/minecraft/server/ChunkProviderGenerate.java
@@ -166,6 +166,11 @@
f5 = 1.0F + f5 * 2.0F;
f6 = 1.0F + f6 * 4.0F;
}
+ // CraftBukkit start - fix MC-54738
+ if (f5 < -1.8F) {
+ f5 = -1.8F;
+ }
+ // CraftBukkit end
float f7 = this.o[l1 + 2 + (i2 + 2) * 5] / (f5 + 2.0F);