retrooper / packetevents

Precision meets performance—a powerful tool for mastering Minecraft packet manipulation with speed and finesse.
GNU General Public License v3.0
557 stars 151 forks source link

Isseus with [1.21] Enchants. #937

Closed darkwolfie37 closed 3 months ago

darkwolfie37 commented 3 months ago

Describe the bug Players are kicked once someone holds an enchanted item.

image

Software brand image

Plugins image

How To Reproduce Steps to reproduce the behavior: Example:

  1. Join a 1.21 server with ViaVersion (assuming they use apart of your code) and grab an enchanted item.
  2. Have a second player or yourself.
  3. Hold item (if a second player) and the Second player should get kicked for the error above, or drop the item and watch yourself get kicked.

Expected behavior I believe that it is not supposed to kick the user.

Screenshots N/A

Additional context N/A

retrooper commented 3 months ago

Have you tried updating PacketEvents to the latest dev build on Jenkins

darkwolfie37 commented 3 months ago

Have you tried updating PacketEvents to the latest dev build on Jenkins

I will let the owner know, i dont have file access to the server.

darkwolfie37 commented 3 months ago

Datapack Enchants is what is causing this error. After removing the enchants from one of our datapacks, it seems to fix the issue!