Skip to content

Commit

Permalink
update to 1.20.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobsjo committed Dec 5, 2023
1 parent 8eb2f78 commit 41283a1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions build_scripts/repackMinecraftAssets.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,5 +98,6 @@ def createZips(version, zip_version):
createZips("1.17.1", "1_17")
createZips("1.18.2", "1_18")
createZips("1.19.2", "1_19")
createZips("1.20", "1_20")
createZips("snapshot", "1_20_3")
createZips("1.20.2", "1_20")
createZips("1.20.3", "1_20_3")
# createZips("snapshot", "1_20_4")
2 changes: 1 addition & 1 deletion src/Components/MenuBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ function pd(evt: Event) {
<option value="1_16">1.16.5</option>
<option value="1_17">1.17.1</option>
<option value="1_18">1.18.2</option>
<option value="1_19">1.19</option>
<option value="1_19">1.19.2</option>
<option value="1_20">1.20.2</option>
<option value="1_20_3">1.20.3</option>
</select>
Expand Down
2 changes: 1 addition & 1 deletion src/Stores/MetaStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { Constants } from '../Util/Constants';
export const MetaStore = defineStore('meta', () => {
const urlParams = new URLSearchParams(window.location.search);
const urlVersion = urlParams.get('version')
const mcVersion = ref(Constants.MINECRAFT_VERSIONS.includes(urlVersion) ? urlVersion : '1_20')
const mcVersion = ref(Constants.MINECRAFT_VERSIONS.includes(urlVersion) ? urlVersion : '1_20_3')
updateUrl()

watch(mcVersion, () => {
Expand Down
4 changes: 2 additions & 2 deletions src/Util/Constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export namespace Constants {
"1_18": "1.18.2",
"1_19": "1.19.2",
"1_20": "1.20.2",
"1_20_3": undefined
"1_20_3": "1.20.3"
}

export const MINECRAFT_DATAPACK_VERSION: {[key: string]: number} = {
Expand All @@ -20,6 +20,6 @@ export namespace Constants {
"1_18": 9,
"1_19": 10,
"1_20": 18,
"1_20_3": 25
"1_20_3": 26
}
}

0 comments on commit 41283a1

Please sign in to comment.