Merge pull request #537 from BentoBoxWorld/sea_level_fix

Fix for https://github.com/BentoBoxWorld/BentoBox/issues/2593
This commit is contained in:
tastybento 2025-01-13 08:26:26 -08:00 committed by GitHub
commit 411d93e460
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -127,7 +127,7 @@ public class BSkyBlock extends GameModeAddon implements Listener {
// Set world name
worldName2 = env.equals(World.Environment.NETHER) ? worldName2 + NETHER : worldName2;
worldName2 = env.equals(World.Environment.THE_END) ? worldName2 + THE_END : worldName2;
WorldCreator wc = WorldCreator.name(worldName2).type(WorldType.FLAT).environment(env);
WorldCreator wc = WorldCreator.name(worldName2).environment(env);
World w = settings.isUseOwnGenerator() ? wc.createWorld() : wc.generator(chunkGenerator2).createWorld();
// Set spawn rates
// Set spawn rates