From b14433e583b36be624943a38199a3d316c523b6b Mon Sep 17 00:00:00 2001 From: Adubbz Date: Sat, 6 Feb 2016 10:56:00 +1100 Subject: [PATCH] Accounted for the coral reef potentially being disabled --- src/main/java/biomesoplenty/common/init/ModBiomes.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/biomesoplenty/common/init/ModBiomes.java b/src/main/java/biomesoplenty/common/init/ModBiomes.java index ae6269605..9b35cee30 100644 --- a/src/main/java/biomesoplenty/common/init/ModBiomes.java +++ b/src/main/java/biomesoplenty/common/init/ModBiomes.java @@ -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); }