Skip to content

Commit 873662f

Browse files
add lowercase
1 parent 901b555 commit 873662f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/me/itzg/helpers/modrinth/ProjectRef.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public static ProjectRef parse(String projectRef) {
5050
if (firstColon > 0) {
5151
final String prefix = projectRef.substring(0, firstColon);
5252
if (VALID_LOADERS.contains(prefix.toLowerCase())) {
53-
loader = Loader.valueOf(prefix);
53+
loader = Loader.valueOf(prefix.toLowerCase());
5454
rest = projectRef.substring(firstColon + 1);
5555
}
5656
}

0 commit comments

Comments
 (0)