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

AN ERROR FOR PACKT EVENT WHEN I USE EXCELLENT ENCHANTMENTS #970

Closed MeoNguOfficial closed 2 months ago

MeoNguOfficial commented 3 months ago

Describe the bug I use Excellent Enchantments for add more enchant, but error, and it kick me:

[02:08:38] [Server thread/INFO]: MeoNgu2 lost connection: Internal Exception: io.netty.handler.codec.EncoderException: java.lang.NullPointerException: Cannot invoke "com.github.retrooper.packetevents.protocol.item.enchantment.type.EnchantmentType.getId(com.github.retrooper.packetevents.protocol.player.ClientVersion)" because "enchantment" is null

Full log: 2024-08-29-2.log.gz

Software brand I use Leaf 1.21.1

Plugins image

How To Reproduce Steps to reproduce the behavior: Watch this video

https://github.com/user-attachments/assets/825c5a78-1f16-49ce-940e-bc46d2f363b8

Expected behavior I can't find packet event config file

Please help me to fix it. Thanks so much

MeoNguOfficial commented 3 months ago

Additional info: I use Packet event Devbuild image

booky10 commented 2 months ago

Duplicate, same issue as https://github.com/retrooper/packetevents/issues/963