From ac3d37bac3306d9948d84b94c9a803c67386f178 Mon Sep 17 00:00:00 2001 From: Forstride Date: Sun, 30 Dec 2018 07:08:29 -0500 Subject: [PATCH] Removed lava lakes from Redwood Forest and Wasteland (Closes #1343) --- .../biomesoplenty/common/world/ChunkGeneratorOverworldBOP.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/biomesoplenty/common/world/ChunkGeneratorOverworldBOP.java b/src/main/java/biomesoplenty/common/world/ChunkGeneratorOverworldBOP.java index 59853d250..9a0a8167e 100644 --- a/src/main/java/biomesoplenty/common/world/ChunkGeneratorOverworldBOP.java +++ b/src/main/java/biomesoplenty/common/world/ChunkGeneratorOverworldBOP.java @@ -541,7 +541,7 @@ public class ChunkGeneratorOverworldBOP implements IChunkGenerator } // add lava lakes - if (!hasVillageGenerated && this.rand.nextInt(this.settings.lavaLakeChance / 10) == 0 && this.settings.useLavaLakes && TerrainGen.populate(this, world, rand, chunkX, chunkZ, hasVillageGenerated, LAVA)) + if (!hasVillageGenerated && (BOPBiomes.redwood_forest.isPresent() && Biome != BOPBiomes.redwood_forest.get()) && (BOPBiomes.redwood_forest_edge.isPresent() && Biome != BOPBiomes.redwood_forest_edge.get()) && (BOPBiomes.wasteland.isPresent() && Biome != BOPBiomes.wasteland.get()) && this.rand.nextInt(this.settings.lavaLakeChance / 10) == 0 && this.settings.useLavaLakes && TerrainGen.populate(this, world, rand, chunkX, chunkZ, hasVillageGenerated, LAVA)) { target = decorateStart.add(this.rand.nextInt(16), this.rand.nextInt(248) + 8, this.rand.nextInt(16)); if (target.getY() < 63 || this.rand.nextInt(this.settings.lavaLakeChance / 8) == 0)