diff options
author | Nathan Adams <dinnerbone@dinnerbone.com> | 2011-11-21 22:38:06 +0000 |
---|---|---|
committer | Nathan Adams <dinnerbone@dinnerbone.com> | 2011-11-21 22:38:06 +0000 |
commit | 7c6e0e8bb1d23fa79054f4e191c95cf0a917638c (patch) | |
tree | a5091cc0a4c4ec9e8f18bef3224cadb2bb4d35fd /src | |
parent | a3854a4646150f7c1ae27b20fe58556788704c56 (diff) | |
download | bukkit-7c6e0e8bb1d23fa79054f4e191c95cf0a917638c.tar bukkit-7c6e0e8bb1d23fa79054f4e191c95cf0a917638c.tar.gz bukkit-7c6e0e8bb1d23fa79054f4e191c95cf0a917638c.tar.lz bukkit-7c6e0e8bb1d23fa79054f4e191c95cf0a917638c.tar.xz bukkit-7c6e0e8bb1d23fa79054f4e191c95cf0a917638c.zip |
BREAKING CHANGE: Renamed Environment.SKYLANDS to THE_END
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/bukkit/World.java | 4 | ||||
-rw-r--r-- | src/main/java/org/bukkit/generator/ChunkGenerator.java | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/org/bukkit/World.java b/src/main/java/org/bukkit/World.java index 51ca7f58..51fa3a53 100644 --- a/src/main/java/org/bukkit/World.java +++ b/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<Integer, Environment> lookup = new HashMap<Integer, Environment>(); diff --git a/src/main/java/org/bukkit/generator/ChunkGenerator.java b/src/main/java/org/bukkit/generator/ChunkGenerator.java index deca41ec..be630927 100644 --- a/src/main/java/org/bukkit/generator/ChunkGenerator.java +++ b/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; |