This brings chat componenent serialization to 100% accuracy so that any text input in the legacy format, converting to comps and then back to legacy will result in identical results. If the user explicitly sets a color as prefix to a string, it is retained, even if that color matches the default. This also helps improve dealing with the empty string wrappers Bukkit creates. A unit test has been added to verify this behavior.
5.8 KiB
5.8 KiB