Skip to content

Commit ad3ec20

Browse files
committed
Fix generators for 26.2
1 parent e57b5ea commit ad3ec20

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎index.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
gtag('config', 'G-S982VZS08T', {
1111
send_page_view: false,
1212
theme: localStorage.getItem('theme') || 'default',
13-
version: localStorage.getItem('schema_version') || '26.1',
13+
version: localStorage.getItem('schema_version') || '26.2',
1414
locale: localStorage.getItem('language') || 'en',
1515
prefers_color_scheme: matchMedia('(prefers-color-scheme: light)').matches ? 'light' : matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'none',
1616
tree_view_mode: localStorage.getItem('misode_tree_view_mode') || 'default',
@@ -29,7 +29,7 @@
2929
</script>
3030
<meta charset="utf-8">
3131
<meta name="viewport" content="width=device-width, initial-scale=1.0">
32-
<title>Data Pack Generators - Minecraft 1.19, 1.20, 1.21</title>
32+
<title>Data Pack Generators - Minecraft 1.21, 26.1, 26.2</title>
3333
<link rel="icon" href="/src/favicon-32.png" sizes="32x32">
3434
<script async src="https://media.ethicalads.io/media/client/ethicalads.min.js"></script>
3535
<script>

‎src/app/services/Versions.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import config from '../Config.js'
33
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', '1.21.4', '1.21.5', '1.21.6', '1.21.9', '1.21.11', '26.1', '26.2'] as const
44
export type VersionId = typeof VersionIds[number]
55

6-
export const DEFAULT_VERSION: VersionId = '26.1'
6+
export const DEFAULT_VERSION: VersionId = '26.2'
77

88
export function checkVersion(versionId: string, minVersionId: string | undefined, maxVersionId?: string) {
99
const version = config.versions.findIndex(v => v.id === versionId)

‎src/config.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,16 +206,16 @@
206206
},
207207
{
208208
"id": "26.1",
209-
"ref": "26.1.1",
209+
"ref": "26.1.2",
210210
"name": "26.1",
211211
"pack_format": 101,
212212
"show": true
213213
},
214214
{
215215
"id": "26.2",
216-
"dynamic": true,
216+
"ref": "26.2",
217217
"name": "26.2",
218-
"pack_format": 106,
218+
"pack_format": 107,
219219
"show": true
220220
}
221221
],

0 commit comments

Comments
 (0)