mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 10:17:38 +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. By: Eric Stokes <fernferret@gmail.com>
This commit is contained in:
parent
6924051264
commit
d67053fa16
@ -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 New Issue
Block a user