Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Cat Core committed Nov 11, 2020
1 parent 34ba3a1 commit 1e428a9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class ModrinthResourcePattern extends M2ResourcePattern {
}
})

if (!contains && !versionId.contains("@")) {
if (!contains) {
throw new IllegalArgumentException("Can't find Version ID in Version List of Mod ID. VersionId: $versionId, ModId: $modId")
}

Expand Down

0 comments on commit 1e428a9

Please sign in to comment.