Files
paper-mc/paper-server/patches/sources/net/minecraft
Aikar 20b9d3de7b Handle Item Meta Inconsistencies
First, Enchantment order would blow away seeing 2 items as the same,
however the Client forces enchantment list in a certain order, as well
as does the /enchant command. Anvils can insert it into forced order,
causing 2 same items to be considered different.

This change makes unhandled NBT Tags and Enchantments use a sorted tree map,
so they will always be in a consistent order.

Additionally, the old enchantment API was never updated when ItemMeta
was added, resulting in 2 different ways to modify an items enchantments.

For consistency, the old API methods now forward to use the
ItemMeta API equivalents, and should deprecate the old API's.
2015-05-28 23:00:19 -04:00
..
2021-01-29 17:54:03 +01:00
2022-07-06 23:00:31 -04:00
2016-03-30 19:36:20 -04:00
2016-03-30 19:36:20 -04:00
2015-04-04 23:17:52 -04:00
2016-03-30 19:36:20 -04:00
2015-05-28 23:00:19 -04:00
2021-01-29 17:54:03 +01:00
2016-03-30 19:36:20 -04:00