Registry client side fix
This commit is contained in:
parent
425458f0bd
commit
e536edfccf
2 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ yarn_mappings=6
|
|||
loader_version=0.11.3
|
||||
|
||||
# Mod Properties
|
||||
mod_version = 0.1.40
|
||||
mod_version = 0.1.41
|
||||
maven_group = ru.bclib
|
||||
archives_base_name = bclib
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ public class BiomeAPI {
|
|||
}
|
||||
|
||||
public static void registerBiome(BCLBiome biome) {
|
||||
if (!BuiltinRegistries.BIOME.containsKey(biome.getID())) {
|
||||
if (BuiltinRegistries.BIOME.get(biome.getID()) == null) {
|
||||
Registry.register(BuiltinRegistries.BIOME, biome.getID(), biome.getBiome());
|
||||
}
|
||||
ID_MAP.put(biome.getID(), biome);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue