From 357f2f0b9a37c5e189141e25bf2d604fa7f41c2a Mon Sep 17 00:00:00 2001 From: modmuss Date: Tue, 30 Jan 2024 10:18:44 +0000 Subject: [PATCH] Fix for 1.20.5 snapshots --- scripts/src/lib/Api.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/src/lib/Api.ts b/scripts/src/lib/Api.ts index 49501f3b..4f5e6b6e 100644 --- a/scripts/src/lib/Api.ts +++ b/scripts/src/lib/Api.ts @@ -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")) {