Minecraft wiki entry for Things_not_to_do, associated text: Attacking players who are wearing Thorns enchanted armor with a melee weapon damages the attacking player also. The player should use non-melee attacks to avoid being hurt by the Thorns enchanted armor.