Fixed .createWorld not respecting container folder 100%. Thanks to plleg for the PR.

This commit is contained in:
Nathan Adams 2012-01-14 17:50:31 +00:00
parent 366d310186
commit 548ccabe2f

View File

@ -514,7 +514,7 @@ public final class CraftServer implements Server {
String name = creator.name();
ChunkGenerator generator = creator.generator();
File folder = new File(name);
File folder = new File(getWorldContainer(), name);
World world = getWorld(name);
WorldType type = WorldType.a(creator.type().getName());