Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
aac3c10a46
6 changed files with 83 additions and 3 deletions
|
@ -230,7 +230,7 @@ public class EndBiomes {
|
|||
* @param server - {@link MinecraftServer}
|
||||
*/
|
||||
public static void initRegistry(MinecraftServer server) {
|
||||
if (biomeRegistry == null) {
|
||||
if (biomeRegistry == null || biomeRegistry == BuiltinRegistries.BIOME) {
|
||||
biomeRegistry = server.registryAccess().registryOrThrow(Registry.BIOME_REGISTRY);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -257,7 +257,7 @@ public class EndFeatures {
|
|||
addFeature(ENDER_ORE, features);
|
||||
addFeature(CRASHED_SHIP, features);
|
||||
|
||||
if (EndBiomes.getBiome(id).hasCaves()) {
|
||||
if (EndBiomes.getBiome(id).hasCaves() && !EndBiomes.VOID_BIOMES.containsImmutable(id)) {
|
||||
addFeature(ROUND_CAVE, features);
|
||||
addFeature(TUNEL_CAVE, features);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue