diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java index 7184022d7e..d7e19e847b 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java @@ -513,7 +513,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().getName()); + WorldType type = WorldType.a(creator.type().name()); if (world != null) { return world;