Use world-container when finding players to convert. Fixes BUKKIT-5530

This commit is contained in:
Travis Watkins 2014-04-13 00:13:42 -05:00
parent b689cfa83a
commit d82e34da59

View file

@ -373,7 +373,7 @@ public class NameReferencingFileConverter {
private static File d(PropertyManager propertymanager) {
String s = propertymanager.getString("level-name", "world");
File file1 = new File(s);
File file1 = new File(MinecraftServer.getServer().server.getWorldContainer(), s); // CraftBukkit - Respect container setting
return new File(file1, "players");
}