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

Mineflayer sends stop digging packet when block has 0 break time #2208

Open
1 task done
IceTank opened this issue Sep 15, 2021 · 1 comment
Open
1 task done

Mineflayer sends stop digging packet when block has 0 break time #2208

IceTank opened this issue Sep 15, 2021 · 1 comment
Labels
possible bug Stage1 just created by someone new to the project, we don't know yet if it deserves an implementation / a f

Comments

@IceTank
Copy link
Contributor

IceTank commented Sep 15, 2021

  • The FAQ doesn't contain a resolution to my issue

Versions

  • mineflayer: latest
  • Minecraft: 1.12 /any?
  • server: vanilla/spigot /any?
  • node: 14

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.

@IceTank IceTank added possible bug Stage1 just created by someone new to the project, we don't know yet if it deserves an implementation / a f labels Sep 15, 2021
@zfxstd
Copy link

zfxstd commented Dec 25, 2021

I cant confirm this bug but i can confirm that digging is somehow broken, version 1.16.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
possible bug Stage1 just created by someone new to the project, we don't know yet if it deserves an implementation / a f
Projects
None yet
Development

No branches or pull requests

2 participants