mojira.dev
MC-313356

`/scoreboard objectives modify` shows no message when the render type, display name, or display auto update is already set to its current value

The Bug:

/scoreboard objectives modify shows no message when the render type, display name, or display auto update is already set to its current value.

Setting a display slot to the objective it already shows, or a team's name or color to its current value, gives a "Nothing changed" error. However, these objective options show nothing in chat, therefore introducing an inconsistency.

Steps to Reproduce:

  1. Create a scoreboard objective by using the command provided below.

    /scoreboard objectives add test dummy
  2. Set its render type to integer by using the command provided below.

    /scoreboard objectives modify test rendertype integer
  3. Observe if a message is shown in chat.

Observed Behavior:

/scoreboard objectives modify shows no message when the render type is already set to that value.

Expected Behavior:

/scoreboard objectives modify would show a "Nothing changed" error when the value is already set.

Attachments

Comments 1

Avoma

(Unassigned)

Unconfirmed

Commands

26.3, 26.4 Snapshot 10

Retrieved