Added forgotten rebuild

This commit is contained in:
Frank 2022-07-03 15:01:29 +02:00
parent c042d00c23
commit 82023316c6

View file

@ -183,6 +183,11 @@ public class BCLibEndBiomeSource extends BCLBiomeSource implements BiomeSourceWi
if (endCenterBiomePicker.isEmpty()) {
BCLib.LOGGER.warning("No Center Island Biomes found. Forcing use of vanilla center.");
endCenterBiomePicker.addBiome(BiomeAPI.THE_END);
endCenterBiomePicker.rebuild();
if (endCenterBiomePicker.isEmpty()) {
BCLib.LOGGER.error("Unable to force vanilla central Island. Falling back to land Biomes...");
endCenterBiomePicker = endLandBiomePicker;
}
}
this.endLandFunction = GeneratorOptions.getEndLandFunction();