Skip to content

Commit

Permalink
Fix for 1.20.5 snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
modmuss50 authored Jan 30, 2024
1 parent e83c578 commit 357f2f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/src/lib/Api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ export function isApiVersionvalidForMcVersion(apiVersion: string, mcVersion: str
// Very dumb but idk of a better (easy) way.
if (mcVersion.startsWith("22w13oneblockatatime")) {
branch = "22w13oneblockatatime"
} else if (mcVersion.startsWith("24w")) {
branch = "1.20.5"
} else if (mcVersion.startsWith("23w")) {
branch = "1.20.5"
} else if (mcVersion.startsWith("22w")) {
Expand Down

0 comments on commit 357f2f0

Please sign in to comment.