Fix silly typos

This commit is contained in:
Will Franzen 2014-12-31 12:24:13 -06:00
parent 2c02ebfde9
commit 52078273fe

View file

@ -334,8 +334,8 @@ var packets = {
{ name: "bitMap", type: "ushort" },
]}}},
{ name: "data", type: "restBuffer" }
]}
explosion: {id: 0x27, fields: [
]},
explosion: {id: 0x27, fields: [
{ name: "x", type: "float" },
{ name: "y", type: "float" },
{ name: "z", type: "float" },
@ -486,14 +486,14 @@ var packets = {
}, typeArgs: { countFor: "properties", type: "varint" }},
{ name: "properties", type: "array", condition: function(field_values) {
return field_values["action"] === 0;
}, typeArgs: { count: propertiesLength, type: "container", typeArgs: { fields: [
{ name: "name", type: "string" }
}, typeArgs: { count: "propertiesLength", type: "container", typeArgs: { fields: [
{ name: "name", type: "string" },
{ name: "value", type: "string" },
{ name: "isSigned", type: "bool" },
{ name: "signature", type: "string", condition: function(field_values) {
return field_values["isSigned"];
}}
]}},
}}
]}}},
{ name: "gamemode", type: "varint", condition: function(field_values) {
return field_values["action"] === 0 || field_values["action"] === 1;
}},