Mojira Archive
MC-62985

Command Block Error

I try to use a command in which a score is give to a player who has the inventory of a damaged sword in the first slot of the hotbar. Instead of giving the score when all the perimeters are met, it gives me this error message:
Could not parse dataTag, reason: Invalid tag encountered, expected '

{' as first char. Heres the command I was using: {code}

/scoreboard players set @a[m=2] SupriorShrtswrd 1 {SelectedItemSlot:0,Inventory:[{Slot:0b,Damage:1s,tag:{display:

{Name:"Superior Shortsword"}

}}]}


Incomplete

Josh

2014-07-23, 04:43 PM

2017-02-14, 05:08 PM

2017-02-14, 05:08 PM

0

3

Unconfirmed

Minecraft 14w29b, Minecraft 1.8.1

-