diff --git a/src/main/java/world/bentobox/bskyblock/generators/ChunkGeneratorWorld.java b/src/main/java/world/bentobox/bskyblock/generators/ChunkGeneratorWorld.java index d48a176..a5d7b6e 100644 --- a/src/main/java/world/bentobox/bskyblock/generators/ChunkGeneratorWorld.java +++ b/src/main/java/world/bentobox/bskyblock/generators/ChunkGeneratorWorld.java @@ -36,12 +36,14 @@ public ChunkGeneratorWorld(BSkyBlock addon) { @Override public ChunkData generateChunkData(World world, Random random, int chunkX, int chunkZ, ChunkGenerator.BiomeGrid biomeGrid) { this.rand = random; - if (world.getEnvironment().equals(World.Environment.NETHER)) { - Bukkit.getLogger().info("DEBUG: Nether " + world.getMaxHeight()); - } + /* + * TODO: Put back in when nether height is fixed on server. + * https://hub.spigotmc.org/jira/browse/SPIGOT-4799 + * if (world.getEnvironment().equals(World.Environment.NETHER) && addon.getSettings().isNetherRoof()) { return generateNetherRoofChunks(world, random); } + */ ChunkData result = createChunkData(world); if (!world.getEnvironment().equals(Environment.NORMAL)) { return result; @@ -82,7 +84,7 @@ private ChunkData generateNetherRoofChunks(World world, Random random) { for (int x = 0; x < 16; x++) { for (int z = 0; z < 16; z++) { // Do the ceiling - makeCeiling(result, x, z, world.getMaxHeight()); + makeCeiling(result, x, z, 255); } } return result;