We have to use the WorldContainer in the CreateCommand, too.

(This should have been changed in af439b678e)
This commit is contained in:
main() 2011-12-10 11:04:29 +01:00
parent d8cb6497f0
commit 0b2233cf7b

View File

@ -46,7 +46,7 @@ public class CreateCommand extends MultiverseCommand {
return;
}
String worldName = args.get(0);
File worldFile = new File(this.plugin.getServerFolder(), worldName);
File worldFile = new File(this.plugin.getServer().getWorldContainer(), worldName);
String env = args.get(1);
String seed = CommandHandler.getFlag("-s", args);
String generator = CommandHandler.getFlag("-g", args);