mirror of
https://github.com/unmojang/node-minecraft-protocol.git
synced 2025-09-27 21:24:25 -04:00
Fix packet 0xce, "create" should be a byte.
Renamed "create" to "action", and made it a byte. According to wiki.vg, 0 is create, 1 to remove, and 2 to update.
This commit is contained in:
parent
ba768dbdee
commit
6c945b6265
@ -433,7 +433,7 @@ var packets = {
|
||||
0xce: [
|
||||
{ name: "name", type: "string" },
|
||||
{ name: "displayText", type: "string" },
|
||||
{ name: "create", type: "bool" }
|
||||
{ name: "action", type: "byte" }
|
||||
],
|
||||
0xcf: [
|
||||
{ name: "itemName", type: "string" },
|
||||
|
Loading…
x
Reference in New Issue
Block a user