2016-10-07 07:31:53 +02:00
|
|
|
--- a/net/minecraft/server/ChunkProviderGenerate.java
|
|
|
|
+++ b/net/minecraft/server/ChunkProviderGenerate.java
|
2018-07-15 02:00:00 +02:00
|
|
|
@@ -166,6 +166,11 @@
|
2016-10-07 07:31:53 +02:00
|
|
|
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
|
|
|
|
|
2018-07-15 02:00:00 +02:00
|
|
|
float f7 = this.o[l1 + 2 + (i2 + 2) * 5] / (f5 + 2.0F);
|
2016-10-07 07:31:53 +02:00
|
|
|
|
2018-07-15 02:00:00 +02:00
|
|
|
@@ -267,7 +272,7 @@
|
|
|
|
return this.a.getSeaLevel() + 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
- public GeneratorSettings getSettings() {
|
|
|
|
+ public GeneratorSettingsOverworld getSettings() { // CraftBukkit - decompile error
|
|
|
|
return this.f();
|
|
|
|
}
|
|
|
|
}
|