mojira.dev
MC-54739

Scoreboard command not subtracting score

I have a minigame where it tracks lives of the teams. But I have run into a problem. One of my command blocks doesn't remove a point from the Purple team, although the one for Aqua works.

How to recreate
1. Create a scoreboard objective called "lives

/scoreboard objectives add lives dummy Lives
/scoreboard objectives add lives dummy Lives

2.set it to the sidebar

3. add the player purple by adding a score to "Purple"

/scoreboard players add Purple lives 10
/scoreboard players add Purple lives 10

4. Try to subtract 1 point from it using a command block

/scoreboard players remove Purple lives 1
/scoreboard players remove Purple lives 1

I get an error message that states there is no name to remove points from.

Attachments

Comments 3

When i reproduce your steps, i dont get an error but the score indeed drops by 1, same if i use an actualy player, this is doing it manually & though use in a command block

I cannot reproduce this. If you can confirm this happens in 14w18b starting on a new world and everything, I will reopen it.

I found my problem. My command said "/scoreboard TEAMS remove Purple lives 1" instead of saying PLAYERS

CocoaMix

(Unassigned)

Unconfirmed

Minecraft 1.7.9, Minecraft 14w17a, Minecraft 14w18b

Retrieved