diff --git a/src/main/java/biomesoplenty/common/world/layer/GenLayerShoreBOP.java b/src/main/java/biomesoplenty/common/world/layer/GenLayerShoreBOP.java index c54cdadf8..7d2f0445c 100644 --- a/src/main/java/biomesoplenty/common/world/layer/GenLayerShoreBOP.java +++ b/src/main/java/biomesoplenty/common/world/layer/GenLayerShoreBOP.java @@ -70,6 +70,7 @@ public class GenLayerShoreBOP extends BOPGenLayer { if (biomeId != BiomeGenBase.ocean.biomeID && biomeId != BiomeGenBase.deepOcean.biomeID && biomeId != BiomeGenBase.river.biomeID && biomeId != BiomeGenBase.swampland.biomeID) { + //Generate custom beaches for our biomes if (biome != null && biome instanceof BOPBiome) { BOPBiome bopBiome = (BOPBiome)biome; @@ -131,23 +132,6 @@ public class GenLayerShoreBOP extends BOPGenLayer } } - private boolean getRiver(int biomeId) - { - //Check if the biome id is valid - if (biomeId >= 0 && biomeId < BiomeGenBase.getBiomeGenArray().length) - { - BiomeGenBase biome = BiomeGenBase.getBiome(biomeId); - - if (biome != null && biome instanceof BOPBiome) - { - BOPBiome bopBiome = (BOPBiome)biome; - return bopBiome.canGenerateRivers; - } - } - - return true; - } - private static final Predicate OCEAN_PREDICATE = new Predicate() { @Override