forked from FabricMC/fabric
Fix crash when generating flat world (#3741)
(cherry picked from commit be5d88be99
)
This commit is contained in:
parent
bbb1ae028e
commit
db2ee42454
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…
Add table
Reference in a new issue