mojira.dev
MC-125074

Selector like @a[scores={foo=!1}] not working.

On Minecraft 17w45a and newer:
When I try make selector like @a[scores={foo=!1}] it not working,
in versions before 17w45a this look like: @a[score_foo=!1]

Linked issues

Attachments

Comments 4

NOT (!) only works with string values and nbt, this is by design.

And the “previous versions” you showed never actually worked.

so how do I do something like not foo?

VerdeQuar

(Unassigned)

Unconfirmed

Minecraft 18w06a

Retrieved