From d82e34da59d38a130a764ffd4cad40cdf32c3c55 Mon Sep 17 00:00:00 2001 From: Travis Watkins Date: Sun, 13 Apr 2014 00:13:42 -0500 Subject: [PATCH] Use world-container when finding players to convert. Fixes BUKKIT-5530 --- .../java/net/minecraft/server/NameReferencingFileConverter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minecraft/server/NameReferencingFileConverter.java b/src/main/java/net/minecraft/server/NameReferencingFileConverter.java index 01dedf2f4a..45561e9bfd 100644 --- a/src/main/java/net/minecraft/server/NameReferencingFileConverter.java +++ b/src/main/java/net/minecraft/server/NameReferencingFileConverter.java @@ -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"); }