Removed snowy biomes from the list of special layered biomes.

This commit is contained in:
Harrison Deng 2020-05-04 14:08:53 -05:00
parent 3a86bd1a12
commit 5ddc11258c
2 changed files with 4 additions and 6 deletions

View File

@ -131,14 +131,13 @@ public class IslandWorldChunkGenerator extends ChunkGenerator implements Listene
} }
@Override @Override
public Location getFixedSpawnLocation(World world, Random random) { public boolean canSpawn(World world, int x, int z) {
Location location = new Location(world, 0, 128, 0); return islandMap.isLand(x, z);
return location;
} }
@Override @Override
public boolean canSpawn(World world, int x, int z) { public Location getFixedSpawnLocation(World world, Random random) {
return islandMap.isLand(x, z); return null;
} }
@Override @Override

View File

@ -40,7 +40,6 @@ public class WorldLayerShader {
String biomeName = biome.toString().toLowerCase(); String biomeName = biome.toString().toLowerCase();
return return
biomeName.contains("badlands") || biomeName.contains("badlands") ||
biomeName.contains("snowy") ||
biomeName.contains("mountain"); biomeName.contains("mountain");
} }