Closed rom1504 closed 11 years ago
a workaround is respond to the "pathFound" event and immediately call "stop()"
I vote for a separation between following a path and finding it. The follow code would make a lot of sense in core mineflayer.
the workaround work only with a timeout of 100ms before stopping, i think it must be because the event pathFound is sent some time before the bot start to move (and can be stopped)
Can you see if #13 would work for you?
fixed by 4771e362316864be220e44bf310d5c645915eea2
It would be nice if it was possible to find the path to go to a position without moving. It can be used to know whether a position is reachable.