Added generator configuration support for Vanilla biomes. Closes #948
This commit is contained in:
parent
24d8856598
commit
46febb809a
1 changed files with 2 additions and 1 deletions
|
@ -642,6 +642,7 @@ public class ModBiomes implements BOPBiomes.IBiomeRegistry
|
||||||
if (extendedBiome.getBaseBiome() instanceof IExtendedBiome)
|
if (extendedBiome.getBaseBiome() instanceof IExtendedBiome)
|
||||||
throw new IllegalArgumentException("Biome already implements IExtendedBiome, it should be registered appropriately");
|
throw new IllegalArgumentException("Biome already implements IExtendedBiome, it should be registered appropriately");
|
||||||
|
|
||||||
|
extendedBiome.configure(readConfigFile(idName));
|
||||||
return BOPBiomes.REG_INSTANCE.registerBiome(extendedBiome, idName);
|
return BOPBiomes.REG_INSTANCE.registerBiome(extendedBiome, idName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue