Accounted for the coral reef potentially being disabled

This commit is contained in:
Adubbz 2016-02-06 10:56:00 +11:00
parent d6fc2d8f26
commit b14433e583

View file

@ -398,7 +398,7 @@ public class ModBiomes implements BOPBiomes.IBiomeRegistry
coral_reef = registerBOPBiome(new BiomeGenCoralReef(), "Coral Reef");
setSubBiome(canyon, canyon_ravine);
setSubBiome(BiomeGenBase.ocean, BOPBiomes.coral_reef.get());
setSubBiome(Optional.of(BiomeGenBase.ocean), BOPBiomes.coral_reef);
}