mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-04 17:00:09 -05:00
SPIGOT-6034: World.getWorldFolder() includes the dot in the path
This commit is contained in:
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user