Skip to content

Commit 61d31a8

Browse files
committed
1.3.15
1 parent a6f0e4f commit 61d31a8

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

changelog.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Changelog
22

3-
## Next
3+
## 1.3.15
4+
*2024-05-12*
45
- Updated resource pack format to `32`.
56
- Updated data pack format to `42`.
67

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pack-format",
3-
"version": "1.3.14",
3+
"version": "1.3.15",
44
"description": "Returns the pack_format of any Minecraft version, including snapshots",
55
"scripts": {
66
"prepublish": "tsc",

test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function testPackFormats() {
4040

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

0 commit comments

Comments
 (0)