From 6eec2b173d6924793e271d922962d26906e27b0c Mon Sep 17 00:00:00 2001 From: UserNugget Date: Tue, 23 Apr 2024 10:10:15 +0300 Subject: [PATCH] Generate mappings for 1.20.5-rc3 instead of 1.20.5-rc1 --- plugin/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/build.gradle b/plugin/build.gradle index e72c8ac2..38a9c7ba 100644 --- a/plugin/build.gradle +++ b/plugin/build.gradle @@ -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}") }