mojira.dev
MC-92457

scoreboard players tag can result in commands.scoreboard.players.tag.tagError

When running a scoreboard tag command with invalid nbt you get an commands.scoreboard.players.tag.tagError instead of showing the actual error like normal scoreboards commands do

Steps to reproduce:
Run: /scoreboard players tag @p TEST {

This will result in commands.scoreboard.players.tag.tagError

With normal scoreboard commands:
Run: /scoreboard objectives add TEST dummy
Run: /scoreboard players add @a TEST 1 {

This will result in: Could not parse dataTag, reason: Unbalanced brackets: {

Wich is a much better error message!

Environment

System.getProperty('os.name') == 'Windows 8.1'
System.getProperty('os.version') == '6.3'
System.getProperty('os.arch') == 'amd64'
System.getProperty('java.version') == '1.8.0_45'
System.getProperty('java.vendor') == 'Oracle Corporation'
System.getProperty('sun.arch.data.model') == '64'

Linked issues

Comments 0

No comments.

migrated

(Unassigned)

Unconfirmed

Minecraft 15w45a

Retrieved