13
0
geforkt von Mirrors/Paper

Fix NPE involving WorldTypes when using CraftServer.createWorld(WorldCreator creator)

By: md-5 <md_5@bigpond.com>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2012-01-13 16:06:55 +11:00
Ursprung ef2f82b9d2
Commit b76a689292

Datei anzeigen

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