Added generator configuration support for Vanilla biomes. Closes #948

This commit is contained in:
Adubbz 2017-02-15 13:16:32 +11:00
parent 24d8856598
commit 46febb809a
1 changed files with 2 additions and 1 deletions

View File

@ -641,7 +641,8 @@ public class ModBiomes implements BOPBiomes.IBiomeRegistry
//Non-wrapped biomes should not be registered this way
if (extendedBiome.getBaseBiome() instanceof IExtendedBiome)
throw new IllegalArgumentException("Biome already implements IExtendedBiome, it should be registered appropriately");
extendedBiome.configure(readConfigFile(idName));
return BOPBiomes.REG_INSTANCE.registerBiome(extendedBiome, idName);
}