Reformated

This commit is contained in:
Frank 2022-07-03 12:55:27 +02:00
parent 102db44595
commit 0eb857e293

View file

@ -184,7 +184,9 @@ public class BiomeAPI {
* @return {@link BCLBiome}
*/
static BCLBiome registerBiome(BCLBiome bclbiome, BiomeType dim, Registry<Biome> registryOrNull) {
if (registryOrNull != null && bclbiome.biomeToRegister != null && registryOrNull.get(bclbiome.getID()) == null) {
if (registryOrNull != null
&& bclbiome.biomeToRegister != null
&& registryOrNull.get(bclbiome.getID()) == null) {
Registry.register(registryOrNull, bclbiome.getBiomeKey(), bclbiome.biomeToRegister);
}