[Fix] Crash when a second world is loaded

This commit is contained in:
Frank 2022-07-01 20:18:10 +02:00
parent 4259c704a2
commit a2956a4cba
2 changed files with 39 additions and 24 deletions

View file

@ -117,7 +117,7 @@ public class EndBiome extends BCLBiome implements SurfaceMaterialProvider {
.surface(biomeConfig.surfaceMaterial().surface().build());
biomeConfig.addCustomBuildData(builder);
EndFeatures.addDefaultFeatures(builder, biomeConfig.hasCaves());
EndFeatures.addDefaultFeatures(biomeConfig.ID, builder, biomeConfig.hasCaves());
EndBiome biome = builder.build(biomeConfig.getSupplier());