BREAKING CHANGE: Renamed Environment.SKYLANDS to THE_END

By: Nathan Adams <dinnerbone@dinnerbone.com>
This commit is contained in:
Bukkit/Spigot
2011-11-21 22:38:06 +00:00
parent 5e8490ab32
commit b5fed7b863
2 changed files with 3 additions and 3 deletions

View File

@@ -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;