tag @a remove zombie_flesh_chestplate
tag @a [hasitem={item=true:zombie_flesh_chestplate_leather,location=slot.armor.chest}] add zombie_flesh_chestplate
tag @a [hasitem={item=true:zombie_flesh_chestplate_iron,location=slot.armor.chest}] add zombie_flesh_chestplate
tag @a [hasitem={item=true:zombie_flesh_chestplate_diamond,location=slot.armor.chest}] add zombie_flesh_chestplate