
[NeoForge 1.21.3] Item with enchantments crashes the game
ryupanqui78 opened this issue ยท 3 comments
Hello there,
I was moving my code from NeoForge 1.21.1 to 1.21.3.
I have an item that support Enchantments like Protection, Unbreaking and Efficiency, when I put it in the ring slot the game crash, if it does not have enchantments, it works.
It worked fine in previous version 1.1.0-beta.10+1.21.1 with NeoForge 1.21.1.
crash-2024-12-29_20.50.50-server.txt
Thanks in advance,
Hmm that may be down to a issue with the Enchantment hook for Accessories not being perfect and recent changes may have inverted the enchantment tag from being a whitelist to a blacklist which I thought would be fine, will investigate tomorrow about this.
Have confirmed the issue and have found some fixes that I can put in place to prevent crashing. Also found out much of enchantments were not fully working so this update should fix that issue as well.