diff --git a/paper-api/src/main/java/org/bukkit/World.java b/paper-api/src/main/java/org/bukkit/World.java index 51ca7f58ee..51fa3a5365 100644 --- a/paper-api/src/main/java/org/bukkit/World.java +++ b/paper-api/src/main/java/org/bukkit/World.java @@ -752,9 +752,9 @@ public interface World { */ NETHER(-1), /** - * Represents a sky-lands based map ("heaven") + * Represents the "end" map */ - SKYLANDS(1); + THE_END(1); private final int id; private static final Map lookup = new HashMap(); diff --git a/paper-api/src/main/java/org/bukkit/generator/ChunkGenerator.java b/paper-api/src/main/java/org/bukkit/generator/ChunkGenerator.java index deca41ecf4..be630927c0 100644 --- a/paper-api/src/main/java/org/bukkit/generator/ChunkGenerator.java +++ b/paper-api/src/main/java/org/bukkit/generator/ChunkGenerator.java @@ -52,7 +52,7 @@ public abstract class ChunkGenerator { switch (world.getEnvironment()) { case NETHER: return true; - case SKYLANDS: + case THE_END: return highest.getType() != Material.AIR && highest.getType() != Material.WATER && highest.getType() != Material.LAVA;