sgtcaze/NametagEdit

Error with using Hex Color

Corin-alt opened this issue · 1 comments

Bug Report - Error with using Hex Color

Type /ver NametagEdit and post the output.

version: 4.5.14

What version of Bukkit/Spigot/PaperSpigot are you using? Type /ver

Paper : paper 1.19.2 (build 307)

What plugins are you using? Type /plugins

  • My own plugin
  • WorldEdit
  • WorlGuard
  • Shopkeepers
  • Protocolib
  • HologrpahicDisplays
  • NametagEdit

Please explain your issue. How do you trigger it?

When I try to apply a prefix with a hexadecimal color code (&#XXXXXX), all players present have a "Connection lost" with an error.

Details of the procedure:

  • Command entered: /nte player<pseudo> prefix &#FD6C9E
  • Error: Internal Exception: io.netty.handler.codec.DecoderException: Received unexpected null component

I tried to deactivate all plugins present except "NametagEdit" but nothing changed, still the same error.

Are there any errors in the console? Please use: https://pastebin.com

  • No error in console
  • I found the solution, the hexadecimal code should be lower case, if I use upper case it still doesn't work.