fix text packet (reference https://github.com/PocketMine/PocketMine-MP/blob/master/src/pocketmine/network/protocol/TextPacket.php#L42)
This commit is contained in:
parent
11c8df52bb
commit
041a6ef13e
1 changed files with 25 additions and 4 deletions
|
|
@ -888,9 +888,9 @@
|
|||
"compareTo": "type",
|
||||
"fields": {
|
||||
"1": "string",
|
||||
"5": "string"
|
||||
"3": "string"
|
||||
},
|
||||
"default": "1"
|
||||
"default": "void"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
@ -901,12 +901,33 @@
|
|||
{
|
||||
"compareTo": "type",
|
||||
"fields": {
|
||||
"0": "string",
|
||||
"1": "string",
|
||||
"2": "string",
|
||||
"3": "string",
|
||||
"4": "string",
|
||||
"5": "string"
|
||||
},
|
||||
"default": "1"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "parameters",
|
||||
"type": [
|
||||
"switch",
|
||||
{
|
||||
"compareTo": "type",
|
||||
"fields":{
|
||||
"2":[
|
||||
"array", {
|
||||
"countType":"i8",
|
||||
"type":"string"
|
||||
}
|
||||
]
|
||||
},
|
||||
"default":"void"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue