fix mcpe_text packet

This commit is contained in:
mhsjlw 2016-04-09 12:20:13 -04:00
commit 2889153d10
2 changed files with 29 additions and 1 deletions

View file

@ -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"
}
]
}
]
],

View file

@ -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": {