mojira.dev
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}}

Environment

Ubuntu (Linux kernel 3.19.0-26-generic) x64
Java 1.8.0_51

Attachments

Comments 0

No comments.

migrated

Erik Broes

Confirmed

armor, color, digit, display, hexadecimal, leather

Minecraft 15w33c, Minecraft 15w44b, Minecraft 1.8.9

Minecraft 15w49a

Retrieved