Slice icon indicating copy to clipboard operation
Slice copied to clipboard

Ignoring durability change equipment updates also applies to attributes

Open etil2jz opened this issue 2 years ago • 0 comments

When switching from an item with attributes to the same without, player keeps these attributes.

Steps to reproduce

  • Get an item with attributes
  • Get the same item without attributes
  • Put them both in hotbar
  • Select air with number pad
  • Select the item with attribute using number pad
  • Select the item without attributes using number pad
  • Observe that the attributes still works, while on Paper they don't

Used items:

  • minecraft:totem_of_undying (no attributes)
  • /minecraft:give @p minecraft:totem_of_undying{AttributeModifiers:[{AttributeName:"generic.max_health",Amount:24.0,Name:"generic.max_health",UUID:[I;-121616,31938,163539,-63876]}]}

etil2jz avatar Sep 07 '22 18:09 etil2jz