PrismarineJS / mineflayer

Create Minecraft bots with a powerful, stable, and high level JavaScript API.
https://prismarinejs.github.io/mineflayer/
MIT License
4.95k stars 904 forks source link

Failing tests #78

Closed Darthfett closed 11 years ago

Darthfett commented 11 years ago

Mineflayer currently fails the test method indicated in the readme (npm test):

$ npm test

> mineflayer@0.0.5 test c:\Users\Casey\Scripts\mineflayer
> mocha --reporter spec

c:\Users\Casey\Scripts\mineflayer\lib\plugins\blocks.js:7
  , BLOCKS_PER_CHUNK = CHUNK_SIZE.volume()
                                  ^
TypeError: Object (16, 16, 16) has no method 'volume'
    at Object.<anonymous> (c:\Users\Casey\Scripts\mineflayer\lib\plugins\blocks.js:7:35)

Full traceback: http://pastebin.com/ra9iS6ZT

Darthfett commented 11 years ago

Oops, this is my fault, still new to node and forgot to npm install