Closed TheDudeFromCI closed 2 years ago
The current implementation of bot.collectBlock.cancelTask() is not fully implemented, and simply waits until the tasks are finished executing normally. Ideally, this should actually clear all target blocks and stop the pathfinder.
https://github.com/PrismarineJS/mineflayer-collectblock/blob/0b6b36cb19c82ce5c0650d036530206735a782d6/src/CollectBlock.ts#L363
Fixed via #88
The current implementation of bot.collectBlock.cancelTask() is not fully implemented, and simply waits until the tasks are finished executing normally. Ideally, this should actually clear all target blocks and stop the pathfinder.
https://github.com/PrismarineJS/mineflayer-collectblock/blob/0b6b36cb19c82ce5c0650d036530206735a782d6/src/CollectBlock.ts#L363