BYG-Integration compile fixes
This commit is contained in:
parent
016a3048bd
commit
6a8ad29a70
4 changed files with 166 additions and 139 deletions
|
@ -124,10 +124,11 @@ public class EndBiomes {
|
|||
/**
|
||||
* Put integration sub-biome {@link EndBiome} into subbiomes list and registers it.
|
||||
*
|
||||
* @param biome - {@link EndBiome} instance
|
||||
* @param biomeConfig - {@link EndBiome.Config} instance
|
||||
* @return registered {@link EndBiome}
|
||||
*/
|
||||
public static EndBiome registerSubBiomeIntegration(EndBiome biome) {
|
||||
public static EndBiome registerSubBiomeIntegration(EndBiome.Config biomeConfig) {
|
||||
EndBiome biome = EndBiome.create(biomeConfig);
|
||||
if (Configs.BIOME_CONFIG.getBoolean(biome.getID(), "enabled", true)) {
|
||||
BiomeAPI.registerBiome(biome);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue