Merge pull request #134 from rom1504/master

Fix bed-related packets
This commit is contained in:
Robin Lambertz 2015-03-22 03:21:13 +01:00
commit 2723d4d94f

View File

@ -131,12 +131,12 @@ var packets = {
{ name: "slot", type: "byte" } { name: "slot", type: "byte" }
]}, ]},
bed: {id: 0x0a, fields: [ bed: {id: 0x0a, fields: [
{ name: "entityId", type: "int" }, { name: "entityId", type: "varint" },
{ name: "location", type: "position" } { name: "location", type: "position" }
]}, ]},
animation: {id: 0x0b, fields: [ animation: {id: 0x0b, fields: [
{ name: "entityId", type: "varint" }, { name: "entityId", type: "varint" },
{ name: "animation", type: "byte" } { name: "animation", type: "ubyte" }
]}, ]},
named_entity_spawn: {id: 0x0c, fields: [ named_entity_spawn: {id: 0x0c, fields: [
{ name: "entityId", type: "varint" }, { name: "entityId", type: "varint" },