From 6c945b626540a810c022a3d27b8ecd154576ebed Mon Sep 17 00:00:00 2001 From: Robin Lambertz <robinlambertz.dev@gmail.com> Date: Mon, 8 Apr 2013 15:35:35 +0200 Subject: [PATCH] Fix packet 0xce, "create" should be a byte. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Renamed "create" to "action", and made it a byte. According to wiki.vg, 0 is create, 1 to remove, and 2 to update. --- lib/protocol.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/protocol.js b/lib/protocol.js index 0958be1..c1cfabb 100644 --- a/lib/protocol.js +++ b/lib/protocol.js @@ -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" },