retrooper / packetevents

PacketEvents is emerging as a strong contender in the realm of Minecraft packet processing libraries. Designed to simplify packet manipulation while delivering high performance, this powerful tool aims to demystify the complexities of projects utilizing packets.
GNU General Public License v3.0
513 stars 148 forks source link

getEnchantments doesn't work for enchanted books #195

Closed MWHunter closed 2 years ago

MWHunter commented 2 years ago

It uses the StoredEnchantments tag instead of the Enchantments tag, except on maybe 1.7?

retrooper commented 2 years ago

1.7 does too

retrooper commented 2 years ago

Update on this?

MWHunter commented 2 years ago

I finally felt like fixing this with https://github.com/retrooper/packetevents/commit/12bd685fe79d0a1e44523d9816b7ed954ec96100