Skip to content

Commit 890cc50

Browse files
Alex33856lineargraph
authored andcommitted
chore: move change
1 parent e1b0844 commit 890cc50

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/io/github/moulberry/repo/NEURepoFile.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
public class NEURepoFile {
1919

2020
public String getPath() {
21-
return repository.baseFolder.relativize(fsPath).toString();
21+
return repository.baseFolder.relativize(fsPath).toString().replace("\\", "/");
2222
}
2323

2424
@Getter

src/main/java/io/github/moulberry/repo/data/ItemOverlays.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,5 @@ public static class ItemOverlayFile {
6565
String itemId;
6666
}
6767

68-
private static final Pattern PATH_PATTERN = Pattern.compile("itemsOverlay[/\\\\]([0-9]+)[/\\\\](.+)\\.snbt");
68+
private static final Pattern PATH_PATTERN = Pattern.compile("itemsOverlay/([0-9]+)/(.+)\\.snbt");
6969
}

0 commit comments

Comments
 (0)