mojira.dev
MC-85534

type=! not working

The command I used is this:
/execute @e[rm=1,r=9,type=!ArmorStand] ~ ~ ~ summon LightningBolt ~ ~ ~

Whenever I run the command it throws the error "That entity cannot be found".
However, if I remove the type=!ArmorStand part it works fine.

Comments 4

You want != I think.

That just means that there are no entities that meet the condition.

@md_5 is correct. The two cannot be used interchangeably as they are completely separate operators (the latter not currently registered to actually do anything).
EDIT: Anon Ymus is correct, my bad. I was thinking in reverse.

Bailey Fulmer

(Unassigned)

Unconfirmed

Minecraft 15w32c

Retrieved