diff --git a/scripts/src/lib/Api.ts b/scripts/src/lib/Api.ts index d5f03121..ece53815 100644 --- a/scripts/src/lib/Api.ts +++ b/scripts/src/lib/Api.ts @@ -85,7 +85,7 @@ export function isApiVersionvalidForMcVersion(apiVersion: string, mcVersion: str let branch = mcVersion; - let versionBranches = ["1.14", "1.15", "1.16", "1.17", "1.18", "1.19", "20w14infinite", "1.18_experimental"] + let versionBranches = ["1.14", "1.15", "1.16", "1.17", "1.18", "1.19", "1.20", "20w14infinite", "1.18_experimental"] versionBranches.forEach((v) => { if (mcVersion.startsWith(v)) { @@ -97,7 +97,7 @@ export function isApiVersionvalidForMcVersion(apiVersion: string, mcVersion: str if (mcVersion.startsWith("22w13oneblockatatime")) { branch = "22w13oneblockatatime" } else if (mcVersion.startsWith("23w")) { - branch = "1.19.4" + branch = "1.20" } else if (mcVersion.startsWith("22w")) { branch = "1.19.3" } else if (mcVersion.startsWith("1.18.2")) {