Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-3876

TextComponent.fromLegacyText(String message, ChatColor reset) to choose the replacement of ChatColor.RESET to match the environment

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Invalid
    • Icon: Minor Minor
    • None
    • None

       

      net.md_5.bungee.api.chat.TextComponent#fromLegacyText(String) makes the text after ChatColor.RESET become white.
      But the default/reset color is different from white in some text fields. In books and on signs the color defaults to black and in Lore it's purple.
      I suggest adding a new Method net.md_5.bungee.api.chat.TextComponent#fromLegacyText(String, ChatColor) the first argument is the same for both methods. The added argument is the color used for ChatColor.RESET

       

            Unassigned Unassigned
            Selebrator Selebrator
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: