This should now complete legacy serialization to avoid ever changing the output content. This removes the concept of "Default Color" from the method as that entire concept was flawed and broke the intent of chat components. Going to actually PR this patch to Spigot soon. This now puts us back at a point where any data saved pre Spigot breaking things will still save back the exact same way as before, but new component -> legacy will now be fixed to not insert undesirable default colors (such as black) into the legacy string, and instead use the proper reset code. This means you can now safety get the text from a book and put it in chat or an entity display name without worry about black color codes or other undesired color codes leaking into the new context where that color doesn't make sense.
6.3 KiB
6.3 KiB