The cooldown also resets upon a player's death.
Additionally, the bug now affects any custom items with the 'use_cooldown' item component.
here is link to video https://youtu.be/Zj9Cn4fzEDw
give @p minecraft:iron_boots{Unbreakable:1b,AttributeModifiers:[{AttributeName:"generic.max_health",Name:"generic.max_health",Amount:4,Operation:0,UUID:[I;1621183358,1932085286,-2139883388,276550106],Slot:"feet"},{AttributeName:"generic.armor",Name:"generic.armor",Amount:2,Operation:0,UUID:[I;-1561336269,-1461040000,-1781138043,-1066952298],Slot:"feet"}]} 1
[18:44]
give @p minecraft:iron_leggings{Unbreakable:1b,AttributeModifiers:[{AttributeName:"generic.max_health",Name:"generic.max_health",Amount:8,Operation:0,UUID:[I;1621183358,1932085286,-2139883388,276550106],Slot:"legs"},{AttributeName:"generic.armor",Name:"generic.armor",Amount:5,Operation:0,UUID:[I;-1561336269,-1461040000,-1781138043,-1066952298],Slot:"legs"}]} 1
Do you know how I can fix that?
Can confirm in 1.21.7