mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-05 18:27:17 +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.
This commit is contained in:
parent
4ac2b08320
commit
2feb2ea124
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue