We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e81e056 commit 5f48dc0Copy full SHA for 5f48dc0
apps/frontend/src/pages/servers/manage/[id]/options/loader.vue
@@ -334,9 +334,12 @@ const mcVersions = tags.value.gameVersions
334
.filter((x) => x.version_type === "release")
335
.map((x) => x.version)
336
.filter((x) => {
337
- const num = parseInt(x.replace(/\./g, ""), 10);
+ // const num = parseInt(x.replace(/\./g, ""), 10);
338
// Versions 1.2.4 and below don't have server jars from Mojang
339
- return isNaN(num) || num >= 125;
+ // return isNaN(num) || num >= 125;
340
+ // above code broke singular versions up until 1.24 (ie 1.25 showed)
341
+ const segment = parseInt(x.split(".")[1], 10);
342
+ return !isNaN(segment) && segment > 2;
343
});
344
345
const selectedLoaderVersions = computed(() => {
0 commit comments