SPIGOT-7051: Worldgen API does not run vanilla noise generation when shouldGenerateNoise is true

By: DerFrZocker <derrieple@gmail.com>
This commit is contained in:
CraftBukkit/Spigot
2022-06-10 19:08:36 +10:00
parent 766668f0db
commit 46523c1525
2 changed files with 29 additions and 12 deletions

View File

@@ -92,6 +92,10 @@ public class CustomChunkGenerator extends InternalChunkGenerator {
this.generator = generator;
}
public net.minecraft.world.level.chunk.ChunkGenerator getDelegate() {
return delegate;
}
private static SeededRandom getSeededRandom() {
return new SeededRandom(new LegacyRandomSource(0));
}