mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-23 18:55:22 +01:00
2a716bbc7f
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. |
||
---|---|---|
.. | ||
src | ||
nb-configuration.xml | ||
pom.xml |