-
Bug
-
Resolution: Invalid
-
None
-
Minecraft 1.8.8
-
None
-
Unconfirmed
So I've been trying to get this command to work for some time now, maybe someone can help me out. The point of the command is to set the scoreboard value of hasItem to one if a player right clicks a sign with an apple in their inventory. Here is the code:
/give @p sign 1 0 {
BlockEntityTag: {
Text1: "{text:\"[Sell]\",clickEvent:{action:\"run_command\",value:\"/scoreboard players set @p hasItem 1 {Inventory:[{id:\\"minecraft:apple\\"}]}\"}}"
},
display: {Name: "Has Apple"}
}
I'm getting the following error:
[01:09:15] Data tag parsing failed: Unexpected token 'm' at: minecraft:apple\\"}]}\"}}"
Any ideas as to why?