mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 23:10:16 +01:00
SPIGOT-6034: World.getWorldFolder() includes the dot in the path
This commit is contained in:
parent
0458f6000b
commit
29cce6714a
1 changed files with 1 additions and 1 deletions
|
@ -1881,7 +1881,7 @@ public class CraftWorld implements World {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public File getWorldFolder() {
|
public File getWorldFolder() {
|
||||||
return world.convertable.getWorldFolder(SavedFile.ROOT).toFile();
|
return world.convertable.getWorldFolder(SavedFile.ROOT).toFile().getParentFile();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue