Skip to content
Success

Changes

Summary

  1. #2899: Various chat API stability updates (commit: fd4864d) (details)
Commit fd4864d475f705b348adec3fe8f48754b5ee11e6 by md_5
#2899: Various chat API stability updates

- Check if a value CAN be parsed as a BaseComponent[] before attempting to parse it through the Content deserialiser
- When removing enclosing quotes from deserialised NBT, don't remove all quotes as they may have been escaping
- Check for ALL the number suffix types
- Throw JSONParseException if: no selector in selector component, no translate in translate component
- JsonObject is not JsonPrimitive
- Cleaned up unit tests a bit
(commit: fd4864d)
The file was modifiedchat/src/main/java/net/md_5/bungee/chat/ScoreComponentSerializer.java
The file was modifiedchat/src/main/java/net/md_5/bungee/api/chat/ItemTag.java
The file was modifiedchat/src/main/java/net/md_5/bungee/api/chat/hover/content/ItemSerializer.java
The file was modifiedchat/src/main/java/net/md_5/bungee/chat/SelectorComponentSerializer.java
The file was modifiedchat/src/main/java/net/md_5/bungee/chat/TranslatableComponentSerializer.java
The file was modifiedchat/src/main/java/net/md_5/bungee/chat/KeybindComponentSerializer.java
The file was modifiedchat/src/test/java/net/md_5/bungee/api/chat/ComponentsTest.java
The file was modifiedchat/src/main/java/net/md_5/bungee/chat/BaseComponentSerializer.java
The file was modifiedchat/src/main/java/net/md_5/bungee/api/chat/hover/content/TextSerializer.java