diff --git a/lib/protocol.js b/lib/protocol.js index 58e0ce8..af80e2e 100644 --- a/lib/protocol.js +++ b/lib/protocol.js @@ -513,7 +513,7 @@ var packets = { kick_disconnect: {id: 0x40, fields: [ { name: "reason", type: "string" } ]}, - difficulty: { id: 0x41, fields [ + difficulty: { id: 0x41, fields: [ { name: "difficulty", type: "ubyte" } ]}, combat_event: { id: 0x42, fields: [ @@ -587,14 +587,14 @@ var packets = { ]}, playerlist_header: { id: 0x47, fields: [ { name: "header", type: "string" }, - { name: "footer", type; "string" } + { name: "footer", type: "string" } ]}, resource_pack_send: { id: 0x48, fields: [ { name: "url", type: "string" }, { name: "hash", type: "string" } ]}, update_entity_nbt: { id: 0x49, fields: [ - { name: "entityId": type: "varint" }, + { name: "entityId", type: "varint" }, { name: "tag", type: "string"} /* TODO: Should be of type "NBT Tag" */ ]} }, @@ -637,7 +637,7 @@ var packets = { ]}, block_dig: {id: 0x07, fields: [ { name: "status", type: "byte" }, - { name: "location", type: "position"} + { name: "location", type: "position"}, { name: "face", type: "byte" } ]}, block_place: {id: 0x08, fields: [