Skip to content

Commit 8c4abf1

Browse files
committed
Add CompoundTag as a Valid Type
1 parent 65cf9f7 commit 8c4abf1

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sanctumterra/raknet",
3-
"version": "1.3.57",
3+
"version": "1.3.58",
44
"description": "",
55
"main": "dist/index.js",
66
"scripts": {
@@ -17,6 +17,7 @@
1717
"@sanctumterra/rs-rak-client": "^1.0.64",
1818
"@serenityjs/binarystream": "^2.6.6",
1919
"@serenityjs/emitter": "^0.5.2",
20+
"@serenityjs/nbt": "^0.6.1",
2021
"reflect-metadata": "^0.2.2"
2122
},
2223
"devDependencies": {

src/proto/types/valid.ts

+3
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ import type {
2727
Uuid,
2828
} from "@serenityjs/binarystream";
2929
import type { DataType } from "../packets/types/data-type";
30+
import type { CompoundTag } from "@serenityjs/nbt";
3031

3132
export type ValidTypes =
33+
| typeof CompoundTag // For @serenityjs/protocol
3234
| typeof DataType
3335
| typeof Bool
3436
| typeof Byte
@@ -56,3 +58,4 @@ export type ValidTypes =
5658
| typeof VarString
5759
| typeof ZigZag
5860
| typeof ZigZong;
61+

0 commit comments

Comments
 (0)