Skip to content

Commit

Permalink
1.3.15
Browse files Browse the repository at this point in the history
  • Loading branch information
Nixinova committed May 11, 2024
1 parent a6f0e4f commit 61d31a8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changelog

## Next
## 1.3.15
*2024-05-12*
- Updated resource pack format to `32`.
- Updated data pack format to `42`.

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pack-format",
"version": "1.3.14",
"version": "1.3.15",
"description": "Returns the pack_format of any Minecraft version, including snapshots",
"scripts": {
"prepublish": "tsc",
Expand Down
2 changes: 1 addition & 1 deletion test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function testPackFormats() {

const input = parts[1] || "[blank]"
const type = { 'r': 'resource', 'd': 'data', '-': undefined }[parts[2]]
const result = parts[3] == 'none' ? undefined : +parts[3]
const result = parts[3] === 'none' ? undefined : parts[3] === 'null' ? null : +parts[3]
testPackFormat(input, type, result)
}
}
Expand Down

0 comments on commit 61d31a8

Please sign in to comment.