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

Scoreboard players don't reset properly when objective gets removed.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • None
    • Minecraft 14w20b
    • None
    • Unconfirmed

      First I set up an objective.

      /scoreboard objectives add o dummy
      Added new objective 'o' successfully

      Then I assign a score for a player.

      /scoreboard players set p o 1
      Set score of o for player p to 1

      Now, with this setup in each case I try 4 different things.

      1. I can reset everything and get the information, that p was still in the scoreboard (and is not anymore afterwards).

        /scoreboard players reset *
        Reset scores of player p

        /scoreboard players test p o * *
        No o score for p found

        /scoreboard players reset *
        All matches failed

      2. If I reset just the objective o then apparently the system realizes, that the player is completely reset.

        /scoreboard players reset * o
        Reset scores of player p

        /scoreboard players test p o * *
        No o score for p found

        /scoreboard players reset *
        All matches failed

      3. If I instead remove the objective o then the scoreboard system doesn't fully realize that player p is gone. (Or rather should be gone.)

        /scoreboard objectives remove o
        Removed new objective 'o' successfully

        /scoreboard players test p o * *
        No objective was found by the name 'o'

        /scoreboard players reset * p
        No objective was found by the name 'o'
        All matches failed

        /scoreboard players reset *
        Reset scores of player p

        /scoreboard players reset *
        All matches failed

      4. If I remove o and then recreate o then you see that p seems to still have a score o according to "/scoreboard players reset" but to have no score o according to "scoreboard players test".

        /scoreboard objectives remove o
        Removed objective 'o' successfully

        /scoreboard objectives add o dummy
        Added new objective 'o' successfully

        /scoreboard players test p o * *
        No o score for p found

        /scoreboard players reset * o
        Reset scores of player p

        /scoreboard players reset *
        All matches failed

      In my opinion in cases 3. and 4. the game should reset the player's scoreboard entries for that objective properly when the objective gets removed.

            Unassigned Unassigned
            fdsteffahn Frank Steffahn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: