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
public Location getFixedSpawnLocation(World world, Random random) {
Location location = new Location(world, 0, 128, 0);
return location;
public boolean canSpawn(World world, int x, int z) {
return islandMap.isLand(x, z);
}
@Override
public boolean canSpawn(World world, int x, int z) {
return islandMap.isLand(x, z);
public Location getFixedSpawnLocation(World world, Random random) {
return null;
}
@Override

View File

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