mirror of
https://github.com/unmojang/node-minecraft-protocol.git
synced 2025-09-29 14:13:45 -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 = [
|
||||
{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}},
|
||||
];
|
||||
|
||||
|
@ -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: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user