Mojira Archive
MC-86385

Leading zeroes omitted on dyed leather armor colour

The hexadecimal string representing the armor color doesn't have any preceding 0 characters. Although this is a valid hexadecimal string, it is not a valid RGB string since it does not have all 6 characters.

Example:
The following command gives a pair of blue (#0000FF) leather boots. However, the color is instead displayed as #FF.

/give @p minecraft:leather_boots 1 0 {display:{color:255}}

Fixed

Anon Ymus

[Mojang] Grum (Erik Broes)

2015-08-15, 10:20 PM

2017-05-10, 11:40 AM

2015-11-26, 06:02 PM

0

1

Confirmed

armor, color, digit, display, hexadecimal, leather

Minecraft 15w33c, Minecraft 15w44b, Minecraft 1.8.9

Minecraft 15w49a