summaryrefslogtreecommitdiffstats
path: root/src/main/java/org
diff options
context:
space:
mode:
authorNathan Adams <dinnerbone@dinnerbone.com>2012-01-14 17:50:31 +0000
committerNathan Adams <dinnerbone@dinnerbone.com>2012-01-14 17:50:31 +0000
commit548ccabe2f7612c604bdcde780eb694f04f50f7f (patch)
tree747b14db5bfcad280a6360ba0c2af7a86dd08a49 /src/main/java/org
parent366d310186ef7db141ddef52337d00effa42fff0 (diff)
downloadcraftbukkit-548ccabe2f7612c604bdcde780eb694f04f50f7f.tar
craftbukkit-548ccabe2f7612c604bdcde780eb694f04f50f7f.tar.gz
craftbukkit-548ccabe2f7612c604bdcde780eb694f04f50f7f.tar.lz
craftbukkit-548ccabe2f7612c604bdcde780eb694f04f50f7f.tar.xz
craftbukkit-548ccabe2f7612c604bdcde780eb694f04f50f7f.zip
Fixed .createWorld not respecting container folder 100%. Thanks to plleg for the PR.
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/bukkit/craftbukkit/CraftServer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
index 95647ba5..f4bf8afd 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
@@ -514,7 +514,7 @@ public final class CraftServer implements Server {
String name = creator.name();
ChunkGenerator generator = creator.generator();
- File folder = new File(name);
+ File folder = new File(getWorldContainer(), name);
World world = getWorld(name);
WorldType type = WorldType.a(creator.type().getName());