summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authormd-5 <md_5@bigpond.com>2012-01-14 11:14:43 +1100
committermd-5 <md_5@bigpond.com>2012-01-14 11:14:43 +1100
commit4dc2065f54896de666acdc178dc780f86076c8de (patch)
tree4fbfd7d98507fa0e8940ba65759ec526ec9308d9 /src/main
parent24fe96ada898e00f5b89d269d230b9e7e6d70b1d (diff)
downloadcraftbukkit-4dc2065f54896de666acdc178dc780f86076c8de.tar
craftbukkit-4dc2065f54896de666acdc178dc780f86076c8de.tar.gz
craftbukkit-4dc2065f54896de666acdc178dc780f86076c8de.tar.lz
craftbukkit-4dc2065f54896de666acdc178dc780f86076c8de.tar.xz
craftbukkit-4dc2065f54896de666acdc178dc780f86076c8de.zip
Undo commit cc60920 to allow for proper integration with the new Bukkit enum values
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/bukkit/craftbukkit/CraftServer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
index 4a3b9d78..95647ba5 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
@@ -516,7 +516,7 @@ public final class CraftServer implements Server {
ChunkGenerator generator = creator.generator();
File folder = new File(name);
World world = getWorld(name);
- WorldType type = WorldType.a(creator.type().name());
+ WorldType type = WorldType.a(creator.type().getName());
if (world != null) {
return world;