ProtocolLib

3M Downloads

Registering listener for USE_ITEM breaks using of items

Kadeluxe opened this issue ยท 0 comments

commented
  • This issue is not solved in a development build

Describe the bug
Registering listener for PacketType.Play.Client.USE_ITEM breaks using of items.

To Reproduce

  1. Register listener for PacketType.Play.Client.USE_ITEM packet;
  2. Try to use any item (for example honey bottle) while looking at a block nearby.
  3. You will not be able to use an item, it will act as an action was cancelled.

Expected behavior
It works.

Screenshots
If applicable, add screenshots to help explain your problem.

Version Info
https://pastebin.com/d3Afbf6f

Additional context
Paper 1.19.2