Allowed for multiple parents of river biomes
This commit is contained in:
parent
b298ee00f4
commit
c28c36a158
1 changed files with 5 additions and 2 deletions
|
@ -383,7 +383,7 @@ public class BOPBiomes
|
|||
return null;
|
||||
}
|
||||
|
||||
private static BiomeGenBase registerOverworldRiverBiome(Class<? extends BiomeGenBase> biomeClass, String biomeName, int parent)
|
||||
private static BiomeGenBase registerOverworldRiverBiome(Class<? extends BiomeGenBase> biomeClass, String biomeName, int...parents)
|
||||
{
|
||||
BiomeGenBase biome = BOPBiomeManager.createBiome(biomeClass, biomeName);
|
||||
|
||||
|
@ -391,7 +391,10 @@ public class BOPBiomes
|
|||
{
|
||||
if (BOPConfigurationBiomeGen.config.get("Overworld (River) Biomes To Generate", biome.biomeName, true).getBoolean(false))
|
||||
{
|
||||
BOPBiomeManager.overworldRiverBiomes[parent] = biome;
|
||||
for (int parent : parents)
|
||||
{
|
||||
BOPBiomeManager.overworldRiverBiomes[parent] = biome;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue