summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft
diff options
context:
space:
mode:
authorTravis Watkins <amaranth@ubuntu.com>2014-04-13 00:13:42 -0500
committerTravis Watkins <amaranth@ubuntu.com>2014-04-13 00:13:42 -0500
commitd82e34da59d38a130a764ffd4cad40cdf32c3c55 (patch)
tree7803dac2bf87348d3cd4ab24e58ca8e5aaca434d /src/main/java/net/minecraft
parentb689cfa83a1bd8d47935aac0086e18266b477fa7 (diff)
downloadcraftbukkit-d82e34da59d38a130a764ffd4cad40cdf32c3c55.tar
craftbukkit-d82e34da59d38a130a764ffd4cad40cdf32c3c55.tar.gz
craftbukkit-d82e34da59d38a130a764ffd4cad40cdf32c3c55.tar.lz
craftbukkit-d82e34da59d38a130a764ffd4cad40cdf32c3c55.tar.xz
craftbukkit-d82e34da59d38a130a764ffd4cad40cdf32c3c55.zip
Use world-container when finding players to convert. Fixes BUKKIT-5530
Diffstat (limited to 'src/main/java/net/minecraft')
-rw-r--r--src/main/java/net/minecraft/server/NameReferencingFileConverter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/NameReferencingFileConverter.java b/src/main/java/net/minecraft/server/NameReferencingFileConverter.java
index 01dedf2f..45561e9b 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");
}