@serenityjs/protocol 0.5.2-beta-20240924154401 → 0.5.2-beta-20240924164734
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -4949,7 +4949,7 @@ var ItemInstanceUserData = class ItemInstanceUserData2 extends import_raknet36.D
|
|
|
4949
4949
|
const string = stream.readString32(import_binarystream22.Endianness.Little);
|
|
4950
4950
|
canDestroy.push(string);
|
|
4951
4951
|
}
|
|
4952
|
-
const ticking = id ===
|
|
4952
|
+
const ticking = id === 363 ? stream.readInt64(import_binarystream22.Endianness.Little) : null;
|
|
4953
4953
|
return new ItemInstanceUserData2(nbt, canPlaceOn, canDestroy, ticking);
|
|
4954
4954
|
}
|
|
4955
4955
|
static write(stream, value, _endian, id) {
|
|
@@ -4968,7 +4968,7 @@ var ItemInstanceUserData = class ItemInstanceUserData2 extends import_raknet36.D
|
|
|
4968
4968
|
for (const string of value.canDestroy) {
|
|
4969
4969
|
stream.writeString32(string, import_binarystream22.Endianness.Little);
|
|
4970
4970
|
}
|
|
4971
|
-
if (id ===
|
|
4971
|
+
if (id === 363) {
|
|
4972
4972
|
stream.writeInt64(value.ticking ?? BigInt(0), import_binarystream22.Endianness.Little);
|
|
4973
4973
|
}
|
|
4974
4974
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@serenityjs/protocol",
|
|
3
|
-
"version": "0.5.2-beta-
|
|
3
|
+
"version": "0.5.2-beta-20240924164734",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"repository": "https://github.com/SerenityJS/serenity",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"preset": "@serenityjs/jest-presets/jest/node"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@serenityjs/eslint-config": "0.5.2-beta-
|
|
22
|
-
"@serenityjs/jest-presets": "0.5.2-beta-
|
|
23
|
-
"@serenityjs/typescript-config": "0.5.2-beta-
|
|
21
|
+
"@serenityjs/eslint-config": "0.5.2-beta-20240924164734",
|
|
22
|
+
"@serenityjs/jest-presets": "0.5.2-beta-20240924164734",
|
|
23
|
+
"@serenityjs/typescript-config": "0.5.2-beta-20240924164734",
|
|
24
24
|
"@types/jest": "^29.5.12",
|
|
25
25
|
"@types/node": "^20.11.24",
|
|
26
26
|
"jest": "^29.7.0",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@serenityjs/binarystream": "^2.6.6",
|
|
32
|
-
"@serenityjs/nbt": "0.5.2-beta-
|
|
33
|
-
"@serenityjs/raknet": "0.5.2-beta-
|
|
32
|
+
"@serenityjs/nbt": "0.5.2-beta-20240924164734",
|
|
33
|
+
"@serenityjs/raknet": "0.5.2-beta-20240924164734"
|
|
34
34
|
}
|
|
35
35
|
}
|