mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-02 04:56:50 +01:00
Use world-container when finding players to convert. Fixes BUKKIT-5530
This commit is contained in:
parent
b689cfa83a
commit
d82e34da59
1 changed files with 1 additions and 1 deletions
|
@ -373,7 +373,7 @@ public class NameReferencingFileConverter {
|
||||||
|
|
||||||
private static File d(PropertyManager propertymanager) {
|
private static File d(PropertyManager propertymanager) {
|
||||||
String s = propertymanager.getString("level-name", "world");
|
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");
|
return new File(file1, "players");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue