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

View File

@ -136,6 +136,6 @@ public final class CachedRegion implements ICachedChunkAccess {
} }
private static Path getRegionFile(Path cacheDir, int regionX, int regionZ) { 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");
} }
} }