Skip to content

Commit

Permalink
1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
modmuss50 committed May 5, 2024
1 parent 994ccce commit a42ee5a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/src/lib/Api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export function isApiVersionvalidForMcVersion(apiVersion: string, mcVersion: str
if (mcVersion.startsWith("22w13oneblockatatime")) {
branch = "22w13oneblockatatime"
} else if (mcVersion.startsWith("24w")) {
branch = "1.20.5"
branch = "1.21"
} else if (mcVersion.startsWith("23w")) {
branch = "1.20.5"
} else if (mcVersion.startsWith("22w")) {
Expand All @@ -128,6 +128,8 @@ export function isApiVersionvalidForMcVersion(apiVersion: string, mcVersion: str
branch = "1.20.5"
} else if (mcVersion.startsWith("1.20.6")) {
branch = "1.20.6"
} else if (mcVersion.startsWith("1.21")) {
branch = "1.21"
} else if (mcVersion.startsWith("21w")) {
branch = "1.18"
} else if (mcVersion.startsWith("20w")) {
Expand Down

0 comments on commit a42ee5a

Please sign in to comment.