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

Scoreboard scores are not 0 when created/reseted

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 14w20a, Minecraft 14w20b
    • None
    • Operating System: Windows 7 64bit
      Java version: 7 Update 55 (32bit & 64bit)
    • Unconfirmed

      This has been in the snapshots since first 2014 Snapshot. This is really annoying me because I can't use scoreboard scores to detect players that have just joined the game. For example I can't do this "/effect @a[score_test_min=0] 1 1 1" to give all new players (they should have their score as 0) a speed effect. This also happens if you reset the score. This has caused that none of my minigames don't work properly.

      How to test it yourself

      1. Make a scoreboard objective (e.g. "/scoreboard objectives add test dummy").

      2. Place a command block on the ground and put this command in it "/testfor @a[score_test_min=0]". Then place a comparator next to it pointing away from the command block.

      3. You will see that the comparator will not get powered.

      Mojang, please fix this quickly!

            Unassigned Unassigned
            Eppo_37 Eppo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: