correctly filter minecraft releases/snapshots

This commit is contained in:
moehreag 2024-06-17 23:24:08 +02:00
parent 7059387020
commit 8aea1f7d15
2 changed files with 2 additions and 2 deletions

View file

@ -59,7 +59,7 @@ Insert section about the installer here
getGameVersions().then((v) => {
versions = v.versions
for (let version of versions){
if (version.type === "snapshot"){
if (version.type !== "release"){
snapshots.push(version)
} else {
releases.push(version)

View file

@ -54,7 +54,7 @@ outline: false
getGameVersions().then((v) => {
versions = v.versions
for (let version of versions){
if (version.type === "snapshot"){
if (version.type !== "release"){
snapshots.push(version)
} else {
releases.push(version)