Skip to content

Commit

Permalink
Generate mappings for 1.20.5-rc3 instead of 1.20.5-rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
UserNugget committed Apr 23, 2024
1 parent 80175da commit 6eec2b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ File downloadVersionManifest(String version) {

Object manifest = new JsonSlurper().parse(versionManifestFile)
// TODO: remove this workaround then 1.20.5 releases
def optional = manifest.versions.stream().filter({it.id == (version == "1.20.5" ? "1.20.5-rc1" : version)}).findFirst()
def optional = manifest.versions.stream().filter({it.id == (version == "1.20.5" ? "1.20.5-rc3" : version)}).findFirst()
if (optional.empty()) {
throw new RuntimeException("Couldn't find version: ${version}")
}
Expand Down

0 comments on commit 6eec2b1

Please sign in to comment.