Hex colors format differently to traditional colours

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Affects Version/s: None
    • None
    • git-Spigot-c3a49df-b0c6dfe (MC: 1.16.1)
    • Yes

      Using ItemMeta#getLore and then ItemMeta#setLore on a item strips some formatting. Seems to be exclusive to HEX color code lore lines. Here's a before and after. (Note this is when using the stringlist variant of those methods)

       

      Before:

      After:

       

       

        1. image-2020-07-16-11-30-55-394.png
          79 kB
          FACEGUY
        2. image-2020-07-16-11-31-34-291.png
          65 kB
          FACEGUY
        3. image-2020-07-16-19-20-06-278.png
          26 kB
          FACEGUY
        4. image-2020-07-16-19-20-13-731.png
          27 kB
          FACEGUY

            Assignee:
            Unassigned
            Reporter:
            FACEGUY
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: