Mineflayer sends stop digging packet when block has 0 break time #2208
Labels
possible bug
Stage1
just created by someone new to the project, we don't know yet if it deserves an implementation / a f
Versions
Detailed description of a problem
The vanilla minecraft client sends one arm swing packet and one block_dig packet with status 0 when mining blocks that have a dig time of 0. But Mineflayer also sends an extra block_dig packet with status 2 meaning finished digging.
The finish digging packet is only send in the vanilla client when the block can not be mined instantly.
Expected behavior
Only send a stop digging packet when the blocks dig time is not 0.
The text was updated successfully, but these errors were encountered: