diff --git a/src/main/java/ru/bclib/api/BiomeAPI.java b/src/main/java/ru/bclib/api/BiomeAPI.java index b2ed8666..5a2a7ed9 100644 --- a/src/main/java/ru/bclib/api/BiomeAPI.java +++ b/src/main/java/ru/bclib/api/BiomeAPI.java @@ -95,7 +95,7 @@ public class BiomeAPI { * @param biome {@link BCLBiome} * @return {@link BCLBiome} */ - public static void registerNetherBiome(BCLBiome biome) { + public static BCLBiome registerNetherBiome(BCLBiome biome) { registerBiome(biome); NETHER_BIOME_PICKER.addBiome(biome); Random random = new Random(biome.getID().hashCode()); @@ -108,6 +108,7 @@ public class BiomeAPI { ); ResourceKey key = BuiltinRegistries.BIOME.getResourceKey(biome.getBiome()).get(); InternalBiomeData.addNetherBiome(key, parameters); + return biome; } /** diff --git a/src/main/java/ru/bclib/api/dataexchange/handler/HelloServer.java b/src/main/java/ru/bclib/api/dataexchange/handler/HelloServer.java index 545345cc..6effc024 100644 --- a/src/main/java/ru/bclib/api/dataexchange/handler/HelloServer.java +++ b/src/main/java/ru/bclib/api/dataexchange/handler/HelloServer.java @@ -18,7 +18,7 @@ import java.io.File; * This message is sent once a player enters the world. It initiates a sequence of Messages that will sync files between both * client and server. * - * + * * * *
Description
Server