Skip to content

Commit 533d5e8

Browse files
committed
Merge branch 'mc/1.13' into mc/1.12
2 parents b8f66d7 + 85f5d89 commit 533d5e8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

BlueMapCore/src/main/java/de/bluecolored/bluemap/core/resourcepack/fileaccess/FolderFileAccess.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ private synchronized void tidy() {
113113
}
114114

115115
private Path resolve(String path) {
116+
if (path.isEmpty() || "/".equals(path)) return folder.toPath();
116117
if (File.separatorChar != '/') path = path.replace('/', File.separatorChar);
117118
if (path.charAt(0) == '/') path = path.substring(1);
118119
Path resolve = folder.toPath();

0 commit comments

Comments
 (0)