mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-23 16:56:31 +01:00
SPIGOT-6034: World.getWorldFolder() includes the dot in the path
By: md_5 <git@md-5.net>
This commit is contained in:
parent
f816dd6f41
commit
12f69c99cf
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue