tweak biome modifiers

This commit is contained in:
dags- 2020-02-28 23:21:12 +00:00
parent a9d218b105
commit 1c1ef12853
2 changed files with 1 additions and 2 deletions

View File

@ -160,7 +160,6 @@ public class WorldHeightmap implements Heightmap {
public void visit(Cell<Terrain> cell, float x, float z) {
continentModule.apply(cell, x, z);
regionModule.apply(cell, x, z);
root.apply(cell, x, z);
}

View File

@ -138,7 +138,7 @@ public class BiomeProvider extends AbstractBiomeProvider {
public Biome getBiome(Cell<Terrain> 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) {