mirror of
https://github.com/FabricMC/fabric.git
synced 2025-03-21 20:50:28 -04:00
Fix crash when generating flat world (#3741)
This commit is contained in:
parent
a704f5c7f5
commit
be5d88be99
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ public class BiomeModificationImpl {
|
|||
dimensionOptions.chunkGenerator().indexedFeaturesListSupplier = Suppliers.memoize(
|
||||
() -> PlacedFeatureIndexer.collectIndexedFeatures(
|
||||
List.copyOf(dimensionOptions.chunkGenerator().getBiomeSource().getBiomes()),
|
||||
(biomeEntry) -> (biomeEntry.value().generationSettings).getFeatures(),
|
||||
biomeEntry -> dimensionOptions.chunkGenerator().getGenerationSettings(biomeEntry).getFeatures(),
|
||||
true
|
||||
)
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue