From e703255cb409586cb40f7baadd67e92d2f485228 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Sat, 14 Jan 2012 17:50:31 +0000 Subject: [PATCH] Fixed .createWorld not respecting container folder 100%. Thanks to plleg for the PR. By: Nathan Adams --- .../src/main/java/org/bukkit/craftbukkit/CraftServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java index 95647ba5c4..f4bf8afd55 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/paper-server/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());