Bernasss12 / BetterEnchantedBooks

Makes it easier to identify different enchantment books.
MIT License
12 stars 9 forks source link

[Bug] Conflict with Trident Return due to enchantment sorting/reordering #35

Closed Fourmisain closed 3 years ago

Fourmisain commented 3 years ago

As explained in https://github.com/Devan-Kerman/Trident-Return/issues/1, sorting/reordering the "Enchantments" ListTag causes an incompatiblity with Trident Return because an equality test of 2 ItemStacks fails (one clientside, one received from the serverside).

This also means that BEB technically changes the actual items - when playing in singleplayer at least.

There might be a fix for this where the original ListTag is left alone and only the tooltips are generated in a sorted order.