Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-64807

score_objective=0 not working with null values

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 14w31a
    • None
    • Mac OS X 10.6.8
      Java SE Runtime Environment 1.6.0_65
    • Unconfirmed

      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.

            Unassigned Unassigned
            bl5eebryce Bryce Lunceford
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: