2019-07-22 08:03:02 +02:00
|
|
|
--- a/net/minecraft/server/ChunkGenerator.java
|
|
|
|
+++ b/net/minecraft/server/ChunkGenerator.java
|
2020-06-25 02:00:00 +02:00
|
|
|
@@ -214,6 +214,13 @@
|
|
|
|
while (iterator.hasNext()) {
|
|
|
|
StructureFeature<?, ?> structurefeature = (StructureFeature) iterator.next();
|
2019-07-22 08:03:02 +02:00
|
|
|
|
2020-06-25 02:00:00 +02:00
|
|
|
+ // CraftBukkit start
|
|
|
|
+ if (structurefeature.b == StructureGenerator.STRONGHOLD) {
|
|
|
|
+ synchronized (structurefeature) {
|
|
|
|
+ this.a(structurefeature, structuremanager, ichunkaccess, definedstructuremanager, i, chunkcoordintpair, biomebase);
|
|
|
|
+ }
|
|
|
|
+ } else
|
|
|
|
+ // CraftBukkit end
|
|
|
|
this.a(structurefeature, structuremanager, ichunkaccess, definedstructuremanager, i, chunkcoordintpair, biomebase);
|
|
|
|
}
|
2019-12-10 23:00:00 +01:00
|
|
|
|
2020-06-25 02:00:00 +02:00
|
|
|
@@ -293,9 +300,11 @@
|
|
|
|
}
|
|
|
|
|
|
|
|
static {
|
|
|
|
- IRegistry.a(IRegistry.CHUNK_GENERATOR, "noise", (Object) ChunkGeneratorAbstract.d);
|
|
|
|
- IRegistry.a(IRegistry.CHUNK_GENERATOR, "flat", (Object) ChunkProviderFlat.d);
|
|
|
|
- IRegistry.a(IRegistry.CHUNK_GENERATOR, "debug", (Object) ChunkProviderDebug.e);
|
|
|
|
+ // CraftBukkit start - decompile errors
|
|
|
|
+ IRegistry.a(IRegistry.CHUNK_GENERATOR, "noise", ChunkGeneratorAbstract.d);
|
|
|
|
+ IRegistry.a(IRegistry.CHUNK_GENERATOR, "flat", ChunkProviderFlat.d);
|
|
|
|
+ IRegistry.a(IRegistry.CHUNK_GENERATOR, "debug", ChunkProviderDebug.e);
|
|
|
|
+ // CraftBukkit end
|
|
|
|
a = IRegistry.CHUNK_GENERATOR.dispatchStable(ChunkGenerator::a, Function.identity());
|
|
|
|
}
|
|
|
|
}
|