The Bug:
Armadillo scutes are consumed without repairing wolf armor that has a maximum durability below eight.
An anvil repairs such wolf armor with an armadillo scute. However, using an armadillo scute on a wolf wearing such armor consumes the scute and plays the repair sound while the armor keeps its damage, therefore introducing an inconsistency.
Steps to Reproduce:
Tame a wolf, make it sit, and obtain an armadillo scute.
Obtain damaged wolf armor with a maximum durability of seven by using the command provided below.
/give @s minecraft:wolf_armor[minecraft:max_damage=7,minecraft:damage=1]Put the wolf armor on the wolf, then switch to survival mode and use the armadillo scute on the wolf.
Check the armor's damage by using the command provided below.
/data get entity @n[type=minecraft:wolf] equipment.bodyObserve if the scute is consumed while the armor's damage stays at 1.
Observed Behavior:
The scute is consumed and the repair sound plays, but the armor keeps its damage.
Expected Behavior:
The scute would repair the armor, just like when it is used in an anvil.