mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-24 23:56:51 +00:00
Merge branch 'master' of https://github.com/misode/misode.github.io into mcdoc
This commit is contained in:
@@ -3,7 +3,7 @@ import config from '../Config.js'
|
||||
export const VersionIds = ['1.15', '1.16', '1.17', '1.18', '1.18.2', '1.19', '1.19.3', '1.19.4', '1.20', '1.20.2', '1.20.3', '1.20.5', '1.21', '1.21.2'] as const
|
||||
export type VersionId = typeof VersionIds[number]
|
||||
|
||||
export const DEFAULT_VERSION: VersionId = '1.21'
|
||||
export const DEFAULT_VERSION: VersionId = '1.21.2'
|
||||
|
||||
export function checkVersion(versionId: string, minVersionId: string | undefined, maxVersionId?: string) {
|
||||
const version = config.versions.findIndex(v => v.id === versionId)
|
||||
|
||||
@@ -122,8 +122,7 @@
|
||||
"id": "1.19.4",
|
||||
"ref": "1.19.4",
|
||||
"name": "1.19.4",
|
||||
"pack_format": 12,
|
||||
"show": true
|
||||
"pack_format": 12
|
||||
},
|
||||
{
|
||||
"id": "1.20",
|
||||
@@ -161,9 +160,9 @@
|
||||
},
|
||||
{
|
||||
"id": "1.21.2",
|
||||
"dynamic": true,
|
||||
"name": "1.21.2",
|
||||
"pack_format": 52,
|
||||
"ref": "1.21.3",
|
||||
"name": "1.21.2 — 1.21.3",
|
||||
"pack_format": 57,
|
||||
"show": true
|
||||
}
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user