Mojira Archive
MC-64807

score_objective=0 not working with null values

Overview

When using a command block with a selector like, @e[score_objective=0], any entities that have a null value for their 'objective' score will not be included.

Example

Commands

/summon Creeper
/summon Squid
/scoreboard objectives add magicNum dummy
/scoreboard players set @e[type=Creeper] magicNum 0
/execute @e[score_magicNum=0] ~ ~ ~ say Hi

Output

[Creeper] Hi

Additional Information

When calling the command:
/execute @e[type=Squid,score_magicNum=0] ~ ~ ~ say Hi
No output is given.

Duplicate

Bryce Lunceford

2014-07-31, 11:32 PM

2014-08-01, 12:01 AM

2014-08-01, 12:01 AM

0

1

Unconfirmed

Minecraft 14w31a

-