Undo commit cc60920 to allow for proper integration with the new Bukkit enum values
By: md-5 <md_5@bigpond.com>
This commit is contained in:
1 parent
551e3d9143
commit
b74ebb1480
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user