From b8c994d52fdce47785dec28e98e2f25165377db6 Mon Sep 17 00:00:00 2001 From: William Date: Thu, 20 Apr 2023 23:32:26 +0100 Subject: [PATCH] Make toComponent public --- src/main/java/net/william278/desertwell/about/AboutMenu.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/william278/desertwell/about/AboutMenu.java b/src/main/java/net/william278/desertwell/about/AboutMenu.java index f1666f3..cc049ab 100644 --- a/src/main/java/net/william278/desertwell/about/AboutMenu.java +++ b/src/main/java/net/william278/desertwell/about/AboutMenu.java @@ -63,7 +63,7 @@ public class AboutMenu { } @NotNull - private TextComponent asComponent() { + public TextComponent toComponent() { final TextComponent.Builder builder = Component.text() .append(Component.newline()) .append(title.colorIfAbsent(themeColor).decorate(TextDecoration.BOLD));