not everyone uses windoze with backslash path separators

This commit is contained in:
Leijurv 2018-08-05 09:32:09 -04:00
parent 2769f93f71
commit 54c79a3330
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A
1 changed files with 1 additions and 1 deletions

View File

@ -136,6 +136,6 @@ public final class CachedRegion implements ICachedChunkAccess {
}
private static Path getRegionFile(Path cacheDir, int regionX, int regionZ) {
return Paths.get(cacheDir.toString() + "\\r." + regionX + "." + regionZ + ".bcr");
return Paths.get(cacheDir.toString(), "r." + regionX + "." + regionZ + ".bcr");
}
}