geforkt von Mirrors/Paper
Use world-container when finding players to convert. Fixes BUKKIT-5530
Dieser Commit ist enthalten in:
Ursprung
b689cfa83a
Commit
d82e34da59
@ -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");
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren