BungeeCord/chat
Janmm14 2a716bbc7f
#3344: Fix legacy chat conversion losing format reset information.
In legacy chat format, colors and reset do not retain any formatting.

In order to prevent this behaviour from creating unnecessary long json containing many redundant `formatting: false`, the original `fromLegacyText(...)` idea was to just override the color to white and handle the format reset just internally.

However eventual previous format rejection (aka reset) information was lost when appending multiple legacy format strings to a `ComponentBuilder`.

With this change we save the "reset wish" in the `BaseComponent` and update `ComponentBuilder`'s append function to not copy over formatting if the component has the reset flag set.
2022-06-30 21:22:16 +10:00
..
src #3344: Fix legacy chat conversion losing format reset information. 2022-06-30 21:22:16 +10:00
nb-configuration.xml Move chat API into own submodule. 2014-08-31 18:56:03 +10:00
pom.xml Update gson to 2.8.9 2022-06-28 21:40:53 +10:00