Changed Exception to Log-info

This commit is contained in:
Frank 2022-07-01 20:19:05 +02:00
parent a2956a4cba
commit e5127bf918

View file

@ -1,5 +1,6 @@
package org.betterx.betterend.registry; package org.betterx.betterend.registry;
import org.betterx.bclib.BCLib;
import org.betterx.bclib.api.v2.levelgen.biomes.BCLBiome; import org.betterx.bclib.api.v2.levelgen.biomes.BCLBiome;
import org.betterx.bclib.api.v2.levelgen.biomes.BCLBiomeBuilder; import org.betterx.bclib.api.v2.levelgen.biomes.BCLBiomeBuilder;
import org.betterx.bclib.api.v2.levelgen.biomes.BiomeAPI; import org.betterx.bclib.api.v2.levelgen.biomes.BiomeAPI;
@ -1247,7 +1248,7 @@ public class EndFeatures {
ResourceLocation id = new ResourceLocation(ns, nm + "_structures"); ResourceLocation id = new ResourceLocation(ns, nm + "_structures");
if (BuiltinRegistries.PLACED_FEATURE.containsKey(id)) { if (BuiltinRegistries.PLACED_FEATURE.containsKey(id)) {
throw new IllegalStateException("Feature for " + id + " was already build"); BCLib.LOGGER.info("Feature for " + id + " was already build");
} }
String path = "/data/" + ns + "/structures/biome/" + nm + "/"; String path = "/data/" + ns + "/structures/biome/" + nm + "/";