mirror of
https://github.com/PrismarineJS/node-minecraft-protocol.git
synced 2024-11-29 18:55:40 -05:00
Fix silly typos
This commit is contained in:
parent
2c02ebfde9
commit
52078273fe
1 changed files with 6 additions and 6 deletions
|
@ -334,8 +334,8 @@ var packets = {
|
||||||
{ name: "bitMap", type: "ushort" },
|
{ name: "bitMap", type: "ushort" },
|
||||||
]}}},
|
]}}},
|
||||||
{ name: "data", type: "restBuffer" }
|
{ name: "data", type: "restBuffer" }
|
||||||
]}
|
]},
|
||||||
explosion: {id: 0x27, fields: [
|
explosion: {id: 0x27, fields: [
|
||||||
{ name: "x", type: "float" },
|
{ name: "x", type: "float" },
|
||||||
{ name: "y", type: "float" },
|
{ name: "y", type: "float" },
|
||||||
{ name: "z", type: "float" },
|
{ name: "z", type: "float" },
|
||||||
|
@ -486,14 +486,14 @@ var packets = {
|
||||||
}, typeArgs: { countFor: "properties", type: "varint" }},
|
}, typeArgs: { countFor: "properties", type: "varint" }},
|
||||||
{ name: "properties", type: "array", condition: function(field_values) {
|
{ name: "properties", type: "array", condition: function(field_values) {
|
||||||
return field_values["action"] === 0;
|
return field_values["action"] === 0;
|
||||||
}, typeArgs: { count: propertiesLength, type: "container", typeArgs: { fields: [
|
}, typeArgs: { count: "propertiesLength", type: "container", typeArgs: { fields: [
|
||||||
{ name: "name", type: "string" }
|
{ name: "name", type: "string" },
|
||||||
{ name: "value", type: "string" },
|
{ name: "value", type: "string" },
|
||||||
{ name: "isSigned", type: "bool" },
|
{ name: "isSigned", type: "bool" },
|
||||||
{ name: "signature", type: "string", condition: function(field_values) {
|
{ name: "signature", type: "string", condition: function(field_values) {
|
||||||
return field_values["isSigned"];
|
return field_values["isSigned"];
|
||||||
}}
|
}}
|
||||||
]}},
|
]}}},
|
||||||
{ name: "gamemode", type: "varint", condition: function(field_values) {
|
{ name: "gamemode", type: "varint", condition: function(field_values) {
|
||||||
return field_values["action"] === 0 || field_values["action"] === 1;
|
return field_values["action"] === 0 || field_values["action"] === 1;
|
||||||
}},
|
}},
|
||||||
|
|
Loading…
Reference in a new issue