Garden of Glass's sea level is now set to 64 during world creation. As of 1.8, the sea level is set to a really low value for flat chunk providers, so this fixes squids not spawning in garden of glass worlds. Closes #2001

This commit is contained in:
Vasco Lavos committed 2016-11-01 18:25:55 +00:00
1 parent a1993a10c8
commit 1e55d1b2df
1 file changed
+4 -1
@@ -23,6 +23,7 @@ public class WorldTypeSkyblock extends WorldType {
public WorldTypeSkyblock() {
super("botania-skyblock");
}
public static boolean isWorldSkyblock(World world) {
@@ -52,7 +53,9 @@ public class WorldTypeSkyblock extends WorldType {
@Nonnull
@Override
public IChunkGenerator getChunkGenerator(@Nonnull World world, String generatorOptions) {
return new ChunkProviderFlat(world, world.getSeed(), false, "3;minecraft:air;");
ChunkProviderFlat flat = new ChunkProviderFlat(world, world.getSeed(), false, "3;minecraft:air;");
world.setSeaLevel(64);
return flat;
}
}