Functional Storage

Functional Storage

31M Downloads

[1.20.1] Invalid ChatColor Format Causes BungeeCord Disconnect (#FFFA9128)

LDS-XiaoYe opened this issue · 2 comments

commented

DO NOT REPORT AN ISSUE IF YOU HAVEN'T TESTED THE ISSUE WITH THE LATEST VERSION IN CURSEFORGE

Functional Storage Version: 1.2.13

Titanium Version: 3.8.32

Crashlog If Applicable (Upload to pastebin/gist): https://mclo.gs/4kqDWuS

When right-clicking a block with linking tool on a Minecraft 1.20.x server connected through BungeeCord, the player gets immediately disconnected. The BungeeCord console throws the following error:

io.netty.handler.codec.DecoderException: java.lang.IllegalArgumentException: Could not parse ChatColor #FFFA9128

It seems that your mod is sending a JSON chat component that uses an 8-digit ARGB color code (#FFFA9128). However, BungeeCord's ChatColor.of() method only accepts standard 6-digit RGB hex colors (#RRGGBB). As a result, the message fails to deserialize and causes the connection to break.

commented

Does this happen with the configuration tool too?

commented