Placing an Ominous Banner into an anvil fails to strip the color formatting codes from the item name, resulting in the text "§r§6Ominous Banner" appearing in the rename field, and the output item's name being prefixed with "r6" if the formatting codes are not removed.
Steps to reproduce:
Retrieve an Ominous Banner from the creative inventory. Or kill a raid captain, I guess.
Place it in an anvil.
Observe the incorrect text in the "rename" field.
Add any text to the end of the item name.
Observe the extraneous characters remaining at the start of the string.
Attachments
Comments 2
@Jiingy: Shoot, you know what, I just dug into one of my resource packs and it's got the formatting codes baked into the translation string in en_us. I guess to stop the name showing up as italicized back from when that was an issue, or something.
Which, I mean, I guess you could say "formatting codes parsed from translation strings aren't properly cleared when renaming item" is still an issue, but eh, I'm content to just call a mulligan on this one.
I can't seem to reproduce this
[media]