Fix test and benchmark on node 0.10

This commit is contained in:
roblabla 2015-03-06 23:37:47 +00:00
parent bbace6b62d
commit 63fe55e4ed
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ console.log('Finished write test in ' + (Date.now() - start) / 1000 + ' seconds'
var testDataRead = [
{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}},
];

View File

@ -90,7 +90,7 @@ var values = {
'double': 99999.2222,
'float': -333.444,
'slot': {
id: 5,
blockId: 5,
itemCount: 56,
itemDamage: 2,
nbtData: { root: "test", value: {