When using an anvil to rename an item that has an empty enchantment, the item will lose its empty enchantment.
To reproduce:
/give @s stone{Enchantments:[{}]}Observe that it has an enchantment glint, meaning the value is considered valid for the glint effect.
Put it in an anvil and rename it.
The output item has no enchantment glint and its enchantment tag is removed.
Expected behavior:
The output item should retain the enchantment as no enchantment removing should have happened, and there was no combining of items in the anvil.
Comments 0
No comments.