PrismarineJS / mineflayer-collectblock

A simple utility plugin for Mineflayer that add a higher level API for collecting blocks.
MIT License
38 stars 23 forks source link

CancelTask() not fully implemented #49

Closed TheDudeFromCI closed 2 years ago

TheDudeFromCI commented 3 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

TheDudeFromCI commented 2 years ago

Fixed via #88