[Fix] Crash when BYG is installed
This commit is contained in:
parent
1f712d9493
commit
353614cdaf
1 changed files with 5 additions and 1 deletions
|
@ -398,7 +398,11 @@ public class InternalBiomeAPI {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void registerBCLBiomeData(BCLBiome biome) {
|
public static void registerBCLBiomeData(BCLBiome biome) {
|
||||||
BCLBiomeRegistry.register(registryAccess, biome);
|
try {
|
||||||
|
BCLBiomeRegistry.register(registryAccess, biome);
|
||||||
|
} catch (IllegalStateException e) {
|
||||||
|
BCLib.LOGGER.warning("Unable to register Dummy Biome Entry for " + biome.getID());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue