From 1c1ef128538c1523145bb4728122fd1f891dc1e3 Mon Sep 17 00:00:00 2001 From: dags- Date: Fri, 28 Feb 2020 23:21:12 +0000 Subject: [PATCH] tweak biome modifiers --- .../com/terraforged/core/world/heightmap/WorldHeightmap.java | 1 - .../java/com/terraforged/mod/biome/provider/BiomeProvider.java | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/TerraForgedCore/src/main/java/com/terraforged/core/world/heightmap/WorldHeightmap.java b/TerraForgedCore/src/main/java/com/terraforged/core/world/heightmap/WorldHeightmap.java index 02e2a42..2610adf 100644 --- a/TerraForgedCore/src/main/java/com/terraforged/core/world/heightmap/WorldHeightmap.java +++ b/TerraForgedCore/src/main/java/com/terraforged/core/world/heightmap/WorldHeightmap.java @@ -160,7 +160,6 @@ public class WorldHeightmap implements Heightmap { public void visit(Cell cell, float x, float z) { continentModule.apply(cell, x, z); regionModule.apply(cell, x, z); - root.apply(cell, x, z); } diff --git a/TerraForgedMod/src/main/java/com/terraforged/mod/biome/provider/BiomeProvider.java b/TerraForgedMod/src/main/java/com/terraforged/mod/biome/provider/BiomeProvider.java index f7372af..2c46003 100644 --- a/TerraForgedMod/src/main/java/com/terraforged/mod/biome/provider/BiomeProvider.java +++ b/TerraForgedMod/src/main/java/com/terraforged/mod/biome/provider/BiomeProvider.java @@ -138,7 +138,7 @@ public class BiomeProvider extends AbstractBiomeProvider { public Biome getBiome(Cell cell, int x, int z) { if (cell.value <= context.levels.water) { if (cell.tag == context.terrain.river || cell.tag == context.terrain.riverBanks) { - return modifyBiome(biomeMap.getRiver(cell.temperature, cell.moisture, cell.biome), cell, x, z); + return biomeMap.getRiver(cell.temperature, cell.moisture, cell.biome); } else if (cell.tag == context.terrain.ocean) { return biomeMap.getOcean(cell.temperature, cell.moisture, cell.biome); } else if (cell.tag == context.terrain.deepOcean) {