SPIGOT-6034: World.getWorldFolder() includes the dot in the path

This commit is contained in:
md_5 2020-07-28 18:04:06 +10:00
parent 0458f6000b
commit 29cce6714a
No known key found for this signature in database
GPG key ID: E8E901AC7C617C11

View file

@ -1881,7 +1881,7 @@ public class CraftWorld implements World {
@Override
public File getWorldFolder() {
return world.convertable.getWorldFolder(SavedFile.ROOT).toFile();
return world.convertable.getWorldFolder(SavedFile.ROOT).toFile().getParentFile();
}
@Override