Merge branch 'mc/1.13' into mc/1.12

This commit is contained in:
Blue (Lukas Rieger) 2020-03-26 12:08:18 +01:00
commit 533d5e86be

View File

@ -113,6 +113,7 @@ private synchronized void tidy() {
} }
private Path resolve(String path) { private Path resolve(String path) {
if (path.isEmpty() || "/".equals(path)) return folder.toPath();
if (File.separatorChar != '/') path = path.replace('/', File.separatorChar); if (File.separatorChar != '/') path = path.replace('/', File.separatorChar);
if (path.charAt(0) == '/') path = path.substring(1); if (path.charAt(0) == '/') path = path.substring(1);
Path resolve = folder.toPath(); Path resolve = folder.toPath();