I have a armor stand named 1a
/execute @r[type=Armor_Stand,name:1a] ~ ~ ~ setblock ~ ~ ~ redstone_block
When I try to execute it, I get the error message:
Invalid selector argument: 'name:1a'
What is wrong with the command?
I have a armor stand named 1a
/execute @r[type=Armor_Stand,name:1a] ~ ~ ~ setblock ~ ~ ~ redstone_block
When I try to execute it, I get the error message:
Invalid selector argument: 'name:1a'
What is wrong with the command?
The problem is you have a :
rather than a =
between name
and 1a
. The fixed command should be:
/execute @r[type=Armor_Stand,name=1a] ~ ~ ~ setblock ~ ~ ~ redstone_block