Cannot get the blockstate of a banner on digging
teeteeteeteetee opened this issue ยท 2 comments
- This issue is not solved in a development build
Describe the bug
Protocollib returns error if the player digs banner if we are trying to get the state of it, however we are still able to get the type of it. In the other hand I'm able to get the block state with the "BlockDamageEvent" event which also requires to dig anything, but doesn't end up erroring out
To Reproduce
Steps to reproduce the behavior:
- try to get the block state of a block that is being digged
- dig banner block
Expected behavior
return banners item state
Screenshots
udc2d.mp4
ohlt2.mp4
Version Info
https://pastebin.com/e0Ttpbk1
Incoming packets are not processed on the main server thread, therefore acessing blocks is unsafe and might result in errors like those you see.