fix mcpe_text packet
This commit is contained in:
parent
a1a2e65f6b
commit
2889153d10
2 changed files with 29 additions and 1 deletions
|
|
@ -879,6 +879,34 @@
|
|||
{
|
||||
"name": "type",
|
||||
"type": "i8"
|
||||
},
|
||||
{
|
||||
"name": "name",
|
||||
"type": [
|
||||
"switch",
|
||||
{
|
||||
"compareTo": "type",
|
||||
"fields": {
|
||||
"1": "string",
|
||||
"5": "string"
|
||||
},
|
||||
"default": "1"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "message",
|
||||
"type": [
|
||||
"switch",
|
||||
{
|
||||
"compareTo": "type",
|
||||
"fields": {
|
||||
"1": "string",
|
||||
"5": "string"
|
||||
},
|
||||
"default": "1"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
],
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "pocket-minecraft-protocol",
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.1",
|
||||
"description": "Parse and serialize Minecraft PE packets",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue