Fixed issue with refactored BCLBiome
This commit is contained in:
parent
8b7c4bf9b1
commit
4a30629782
1 changed files with 2 additions and 2 deletions
|
@ -225,7 +225,7 @@ public class BCLBiome implements BiomeData {
|
||||||
* @param defaults The Settings for this Biome or null if you want to apply the defaults
|
* @param defaults The Settings for this Biome or null if you want to apply the defaults
|
||||||
*/
|
*/
|
||||||
protected BCLBiome(ResourceKey<Biome> biomeKey, BCLBiomeSettings defaults) {
|
protected BCLBiome(ResourceKey<Biome> biomeKey, BCLBiomeSettings defaults) {
|
||||||
this.settings = defaults;
|
this.settings = defaults == null ? new BCLBiomeSettings() : defaults;
|
||||||
this.biomeID = biomeKey.location();
|
this.biomeID = biomeKey.location();
|
||||||
this.biomeKey = biomeKey;
|
this.biomeKey = biomeKey;
|
||||||
}
|
}
|
||||||
|
@ -237,7 +237,7 @@ public class BCLBiome implements BiomeData {
|
||||||
* @param defaults The Settings for this Biome or null if you want to apply the defaults
|
* @param defaults The Settings for this Biome or null if you want to apply the defaults
|
||||||
*/
|
*/
|
||||||
protected BCLBiome(ResourceLocation biomeID, BCLBiomeSettings defaults) {
|
protected BCLBiome(ResourceLocation biomeID, BCLBiomeSettings defaults) {
|
||||||
this.settings = defaults;
|
this.settings = defaults == null ? new BCLBiomeSettings() : defaults;
|
||||||
this.biomeID = biomeID;
|
this.biomeID = biomeID;
|
||||||
this.biomeKey = ResourceKey.create(Registries.BIOME, biomeID);
|
this.biomeKey = ResourceKey.create(Registries.BIOME, biomeID);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue