From f48b0ed15961381e498f24befb288f002ec27ead Mon Sep 17 00:00:00 2001 From: Romain Beaumont Date: Sun, 22 Mar 2015 02:17:49 +0100 Subject: [PATCH] Fix animation (see http://wiki.vg/Protocol#Animation) --- src/protocol.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/protocol.js b/src/protocol.js index 3a249dc..80de4ee 100644 --- a/src/protocol.js +++ b/src/protocol.js @@ -136,7 +136,7 @@ var packets = { ]}, animation: {id: 0x0b, fields: [ { name: "entityId", type: "varint" }, - { name: "animation", type: "byte" } + { name: "animation", type: "ubyte" } ]}, named_entity_spawn: {id: 0x0c, fields: [ { name: "entityId", type: "varint" },