Open WhatCats opened 5 months ago
Component component = Component.text().color(NamedTextColor.GRAY).build(); Loggers.debug( "%s -> %s", GsonComponentSerializer.gson().serialize(component), LegacyComponentSerializer.legacyAmpersand().serialize(component) );
{"color":"gray","text":""} ->
{"color":"gray","text":""} -> &7
If you are using Components for prefix's in 1.8 for example you might have this condition where you want a color but no text.
Code
Ouput
Expected Output
Reason
If you are using Components for prefix's in 1.8 for example you might have this condition where you want a color but no text.