Skip to content

Commit

Permalink
patch wrong font read call
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Jun 25, 2023
1 parent 5c73601 commit 53ff287
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -145,7 +145,7 @@ public static String stringifySub(BaseComponent component, ChatColor parentColor
if (component.isObfuscated()) {
builder.append(ChatColor.MAGIC);
}
boolean hasFont = component.getFont() != null;
boolean hasFont = component.getFontRaw() != null;
if (hasFont) {
builder.append(ChatColor.COLOR_CHAR).append("[font=").append(component.getFont()).append("]");
}
Expand Down

0 comments on commit 53ff287

Please sign in to comment.