Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-16 04:50:05 +01:00
MC-54738: Fix ocean biome spikes due to minHeight sign inversion.
Dieser Commit ist enthalten in:
Ursprung
9558f31ebb
Commit
1cce906e11
14
nms-patches/ChunkProviderGenerate.patch
Normale Datei
14
nms-patches/ChunkProviderGenerate.patch
Normale Datei
@ -0,0 +1,14 @@
|
||||
--- a/net/minecraft/server/ChunkProviderGenerate.java
|
||||
+++ b/net/minecraft/server/ChunkProviderGenerate.java
|
||||
@@ -228,6 +228,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.r[l1 + 2 + (i2 + 2) * 5] / (f5 + 2.0F);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren