Copying 1 armor stands gear to another 1.20.1
I am trying to use the data modify storage command to get all armor and weapons equipped by 1 armor stand to the other. i got it to work with armor but not the weapons and i dont understand why. i assume its the sourcepath because i am using ArmorItems which works, but if i try SelectedItems the commands stops working
command to copy armor stand gear:
data modify storage test ArmorItems insert 0 from entity @e[type=minecraft:armor_stand,limit=1,tag=armorstand1] ArmorItems[]command to paste armor stand gear:
data modify entity @e[type=armor_stand,limit=1,tag=armorstand2] ArmorItems set from storage minecraft:test ArmorItems