From d67053fa168c669eda5b5191e126748196b6f2e8 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Sat, 3 Mar 2012 18:36:16 -0700 Subject: [PATCH] Fix worlds loading improperly. Fixes BUKKIT-991 This patch fixes an incorrect path being passed to the WorldLoaderListener. It expects the world container, then checks convertable on the name. By: Eric Stokes --- .../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 7418585a08..57c3dd6e48 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java @@ -623,7 +623,7 @@ public final class CraftServer implements Server { generator = getGenerator(name); } - Convertable converter = new WorldLoaderServer(folder); + Convertable converter = new WorldLoaderServer(getWorldContainer()); if (converter.isConvertable(name)) { getLogger().info("Converting world '" + name + "'"); converter.convert(name, new ConvertProgressUpdater(console));