mirror of
https://github.com/unmojang/node-minecraft-protocol.git
synced 2025-10-01 07:00:34 -04:00
Fix test and benchmark on node 0.10
This commit is contained in:
parent
bbace6b62d
commit
63fe55e4ed
@ -35,7 +35,7 @@ console.log('Finished write test in ' + (Date.now() - start) / 1000 + ' seconds'
|
|||||||
|
|
||||||
var testDataRead = [
|
var testDataRead = [
|
||||||
{id: 0x00, params: {keepAliveId: 957759560}},
|
{id: 0x00, params: {keepAliveId: 957759560}},
|
||||||
{id: 0x02, params: {message: '<Bob> Hello World!'}},
|
{id: 0x02, params: {message: '<Bob> Hello World!', position: 0}},
|
||||||
{id: 0x08, params: {x: 6.5, y: 65.62, z: 7.5, yaw: 0, pitch: 0, flags: 0}},
|
{id: 0x08, params: {x: 6.5, y: 65.62, z: 7.5, yaw: 0, pitch: 0, flags: 0}},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -90,7 +90,7 @@ var values = {
|
|||||||
'double': 99999.2222,
|
'double': 99999.2222,
|
||||||
'float': -333.444,
|
'float': -333.444,
|
||||||
'slot': {
|
'slot': {
|
||||||
id: 5,
|
blockId: 5,
|
||||||
itemCount: 56,
|
itemCount: 56,
|
||||||
itemDamage: 2,
|
itemDamage: 2,
|
||||||
nbtData: { root: "test", value: {
|
nbtData: { root: "test", value: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user