[SPIGOT-5986] md_5.bungee.chat is broken Created: 11/Jul/20  Updated: 11/Jul/20  Resolved: 11/Jul/20

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Zrips Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: 1.16.1

Version: CraftBukkit version git-Spigot-c3a49df-b0c6dfe (MC: 1.16.1) (Implementing API version 1.16.1-R0.1-SNAPSHOT)
Guidelines Read: Yes

 Description   

Issue with json deserialiser. Due to recent Mojang change https://minecraft.gamepedia.com/Raw_JSON_text_format for json format deprecating "value" and replacing it with "contents" we have issue where minecraft code converts json correctly and replaces everything to how it should look like, while md_5.bungee.chat parser will still try to look up for "value" section which no longer exists and will throw out error. Something like

[00:25:31 WARN]: java.lang.NullPointerException
[00:25:31 WARN]:        at net.md_5.bungee.chat.ComponentSerializer.toString(ComponentSerializer.java:58)

This is clearly visible as an issue in net.md_5.bungee.chat.BaseComponentSerializer class, as its still tries to look up for the old value and failing while doing so. 



 Comments   
Comment by Black Hole [ 11/Jul/20 ]

It's fixed in snapshot versions of BungeeCord. I'm sure md-5 will update BungeeCord-Chat for Spigot soon.

Generated at Tue Apr 08 02:45:47 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.