Skip to content

Commit 31485af

Browse files
authored
Support 1.21.6 FAPI branch. Closes #127
1 parent 632dad8 commit 31485af

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/src/lib/Api.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export function isApiVersionvalidForMcVersion(apiVersion: string, mcVersion: str
103103
} else if (mcVersion.startsWith("22w13oneblockatatime")) {
104104
branch = "22w13oneblockatatime"
105105
} else if (mcVersion.startsWith("25w")) {
106-
branch = "1.21.5"
106+
branch = "1.21.6"
107107
} else if (mcVersion.startsWith("24w")) {
108108
branch = "1.21.4"
109109
} else if (mcVersion.startsWith("23w")) {
@@ -132,6 +132,8 @@ export function isApiVersionvalidForMcVersion(apiVersion: string, mcVersion: str
132132
branch = "1.20.5"
133133
} else if (mcVersion.startsWith("1.20.6")) {
134134
branch = "1.20.6"
135+
} else if (mcVersion.startsWith("1.21.6")) {
136+
branch = "1.21.6"
135137
} else if (mcVersion.startsWith("1.21.5")) {
136138
branch = "1.21.5"
137139
} else if (mcVersion.startsWith("1.21.4")) {

0 commit comments

Comments
 (0)