From 478140364a84bdd302654b499148c82aa3d42eae Mon Sep 17 00:00:00 2001 From: Romain Beaumont Date: Sun, 22 Mar 2015 02:11:52 +0100 Subject: [PATCH] Fix bed package (see http://wiki.vg/Protocol#Use_Bed) --- src/protocol.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/protocol.js b/src/protocol.js index eb9b2f4..3a249dc 100644 --- a/src/protocol.js +++ b/src/protocol.js @@ -131,7 +131,7 @@ var packets = { { name: "slot", type: "byte" } ]}, bed: {id: 0x0a, fields: [ - { name: "entityId", type: "int" }, + { name: "entityId", type: "varint" }, { name: "location", type: "position" } ]}, animation: {id: 0x0b, fields: [