diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java index 4a3b9d784f..95647ba5c4 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;