mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-03 05:32:18 -07:00
SPIGOT-6034: World.getWorldFolder() includes the dot in the path
This commit is contained in:
@@ -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