dmulloy2 / ProtocolLib

Provides read and write access to the Minecraft protocol with Bukkit.
GNU General Public License v2.0
1.04k stars 257 forks source link

conflict between excellentenchants, oraxen, packetevents and protocollib #3287

Open thatpris opened 1 month ago

thatpris commented 1 month ago

Describe the bug When BOTH packetevents and protocolib are present, enchants from excellentnenchants cannot be applied to items. Removing either packetevents or protocolib seems to fix the error, so this seems like a conflict between those two.

To Reproduce Steps to reproduce the behavior:

  1. Join with Paper 1.21.1 and all aforementioned plugins
  2. Get an enchantment book from ExcellentEnchants
  3. Apply it to an item in anvil
  4. Bug occurs

Expected behavior The item should be enchanted normally.

Screenshots

Version Info https://pastebin.com/ana3vMBx

Additional context I have tried asking both ExcellentEnchants and Oraxen, and they have concluded that this is a conflict between packetevents and protocolib.

Ingrim4 commented 1 month ago

Since we aren't familiar with ExcellentEnchants I think it's best to discuss this in nulli0n/ExcellentEnchants-spigot#143.

Boy0000 commented 3 weeks ago

Issue is likely tracked down to CommandAPI and how it handles datapacks

image image