correctly filter minecraft releases/snapshots
This commit is contained in:
parent
7059387020
commit
8aea1f7d15
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue