Dyed leather armor becomes black in /replaceitem and /give command
I was halfway in making a minigame, and I tested the new /replaceitem command and typed this (/replaceitem entity @p slot.armor.chest leather_chestplate 1 0 {display:{color:3491355}}) to immediately place a green leather tunic onto the player, but when I press a button linked to the command block, the armor was dyed black! I tried other things instead of the 3491355, such as green and 13 (wool ID for green), and it still doesn't work! The bug also appears with the /give command (/give @p leather_chestplate 1 0 {display:{color:3491355}}).
Environment
Windows 7, Java 1.7.0_45
Created Issue:
Dyed Leather Armor Becomes Black In /replaceitem And /give Command
I was halfway in making a minigame, and I tested the new /replaceitem command and typed this (/replaceitem entity @p slot.armor.chest leather_chestplate 1 0 {display:{color:3491355}}) to immediately place a green leather tunic onto the player, but when I press a button linked to the command block, the armor was dyed black! I tried other things instead of the 3491355, such as green, and it still doesn't work!
Environment
Windows 7, Java 1.7.0_45
I was halfway in making a minigame, and I tested the new /replaceitem command and typed this (/replaceitem entity @p slot.armor.chest leather_chestplate 1 0 {display:{color:3491355}}) to immediately place a green leather tunic onto the player, but when I press a button linked to the command block, the armor was dyed black! I tried other things instead of the 3491355, such as green and 13 (wool ID for green), and it still doesn't work!
DyedLeatherArmorBecomesBlackIn /replaceitemAnd /giveCommandDyed leather armor becomes black in /replaceitem and /give command
I was halfway in making a minigame, and I tested the new /replaceitem command and typed this (/replaceitem entity @p slot.armor.chest leather_chestplate 1 0 {display:{color:3491355}}) to immediately place a green leather tunic onto the player, but when I press a button linked to the command block, the armor was dyed black! I tried other things instead of the 3491355, such as green and 13 (wool ID for green), and it still doesn't work! The bug also appears with the /give command.
I was halfway in making a minigame, and I tested the new /replaceitem command and typed this (/replaceitem entity @p slot.armor.chest leather_chestplate 1 0 {display:{color:3491355}}) to immediately place a green leather tunic onto the player, but when I press a button linked to the command block, the armor was dyed black! I tried other things instead of the 3491355, such as green and 13 (wool ID for green), and it still doesn't work! The bug also appears with the /give command (/give @p leather_chestplate 1 0 {display:{color:3491355}}).




Cannot reproduce on default, which means the resource pack that you're using is broken.
I would also strongly suggest updating your Java to the latest 1.7.60 http://www.java.com/en/download/.