3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-23 23:00:08 +01:00

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.
Dieser Commit ist enthalten in:
Eric Stokes 2012-03-03 18:36:16 -07:00 committet von EvilSeph
Ursprung 4ac2b08320
Commit 2feb2ea124

Datei anzeigen

@ -623,7 +623,7 @@ public final class CraftServer implements Server {
generator = getGenerator(name); generator = getGenerator(name);
} }
Convertable converter = new WorldLoaderServer(folder); Convertable converter = new WorldLoaderServer(getWorldContainer());
if (converter.isConvertable(name)) { if (converter.isConvertable(name)) {
getLogger().info("Converting world '" + name + "'"); getLogger().info("Converting world '" + name + "'");
converter.convert(name, new ConvertProgressUpdater(console)); converter.convert(name, new ConvertProgressUpdater(console));