Skip to content

Commit

Permalink
v2.2.1 Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
HTMonkeyG committed Oct 24, 2024
1 parent fb69df4 commit 66f63d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions API.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ NBT.get(obj: any, type: String, key: String|undefined): any

/**
* Set attribute in NBT object with validation.
*
* When type is not a string, it will set the first value matches given key,
* with its existing type. If the key not exists, it wont be created.
* @param {*} obj - Input buffer
* @param {String} type - Value type
* @param {String} key - Key
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "parsenbt-js",
"version": "2.2.0",
"version": "2.2.1",
"description": "A JavaScript-based minecraft NBT parser and serializer.",
"main": "main.js",
"directories": {
Expand Down

0 comments on commit 66f63d4

Please sign in to comment.