mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-05 18:27:17 +01:00
Undo commit cc60920 to allow for proper integration with the new Bukkit enum values
This commit is contained in:
parent
24fe96ada8
commit
4dc2065f54
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue