Skip to content

Commit

Permalink
just always output font in FormattedText stringify
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Oct 31, 2022
1 parent 33b9ed9 commit fa6c135
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -141,7 +141,7 @@ public static String stringifySub(BaseComponent component, ChatColor parentColor
if (component.isObfuscated()) {
builder.append(ChatColor.MAGIC);
}
if (component.getFontRaw() != null || (component.getFont() != null && component.getColorRaw() != null)) {
if (component.getFont() != null) {
builder.append(ChatColor.COLOR_CHAR).append("[font=").append(component.getFont()).append("]");
}
boolean hasInsertion = component.getInsertion() != null;
Expand Down

0 comments on commit fa6c135

Please sign in to comment.