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:
Robin Lambertz 2013-04-08 15:35:35 +02:00
parent ba768dbdee
commit 6c945b6265

View File

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