RGB Hex colors not respected with custom kick messages

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Affects Version/s: None
    • 1.16.1
    • Yes

      When you try to use hex colors to kick someone from the server. It seems to not respect using ChatColor.Of. The method used works just fine with chat, but isnt respecting custom kick messages. It would only use the last letter or number in the hex code

      Snippet of what i want to use:

      offender.kickPlayer(RGBSupport.translateHexCodes("&#rrggbb[&#r1g1b1You were Kicked&#rrggbb]&#r2g2b2: &r" + reason, this.plugin));
      

      Uses "&#rrggbb"

            Assignee:
            Unassigned
            Reporter:
            Legoman99573
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: