Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trying to navigate when blocks are null causes crash #18

Open
andrewrk opened this issue Feb 4, 2013 · 2 comments
Open

trying to navigate when blocks are null causes crash #18

andrewrk opened this issue Feb 4, 2013 · 2 comments
Labels

Comments

@andrewrk
Copy link
Member

andrewrk commented Feb 4, 2013

timers.js:103
if (!process.listeners('uncaughtException').length) throw e;
^
TypeError: Cannot read property 'boundingBox' of null
at isSafe (/home/andy/dev/mc-bot-server/node_modules/rbot/node_modules/mineflayer-navigate/index.js:345:17)
at Object.getNeighbors as neighbor
at aStar (/home/andy/dev/mc-bot-server/node_modules/rbot/node_modules/mineflayer-navigate/node_modules/a-star/index.js:50:28)
at findPathSync (/home/andy/dev/mc-bot-server/node_modules/rbot/node_modules/mineflayer-navigate/index.js:74:19)
at EventEmitter.navigateTo as to
at moveTo (/home/andy/dev/mc-bot-server/node_modules/rbot/task.js:114:16)
at /home/andy/dev/mc-bot-server/node_modules/rbot/achieve.js:70:18
at listAux (/home/andy/dev/mc-bot-server/node_modules/rbot/achieve.js:119:7)
at achieveList (/home/andy/dev/mc-bot-server/node_modules/rbot/achieve.js:124:2)
at achieve (/home/andy/dev/mc-bot-server/node_modules/rbot/achieve.js:111:2)
at listAux (/home/andy/dev/mc-bot-server/node_modules/rbot/achieve.js:116:28)

@fatlotus
Copy link

I'm not sure how to fix this, and am still getting it in the latest version of Navigate. Thoughts?

@nevercast
Copy link

Old issue clearly, but a fix would be to regard null blocks as air.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants