From 46e5637a3c0d676f5dbdea20bcdee09068444170 Mon Sep 17 00:00:00 2001 From: Will Franzen Date: Tue, 30 Dec 2014 12:59:57 -0600 Subject: [PATCH] Fix stupid typos --- lib/protocol.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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: [