Mojira Archive
MC-191900

Enchanting items with color codes in name in an anvil removes section (§) signs

Renaming items in an anvil that have text format codes in the name remove the section symbol.

What I expected to happen was....

All format codes (section sings and the letter directly after it) be removed or kept and every reset have the normal color changes (aqua for enchanted, italics)

What actually happened was....

The section signs were removed but not the letters directly after

Steps to reproduce:

  1. Give yourself an item with text formatting in the name
  2. Enchant it / repair it / rename it
  3.  The resulting item's section signs in the name are gone but the letters after it remain

Duplicate

user-16d15

2020-06-25, 08:33 PM

2020-08-23, 09:56 PM

2020-06-25, 08:44 PM

0

0

Unconfirmed

(Unassigned)

anvil, formatting-codes, item-Name, renaming

1.16.1

-