mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 11:19:19 +00:00
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:
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;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user