From 4670d23f855498c608f2eaa1d066fd0eec76f1ce Mon Sep 17 00:00:00 2001 From: Daniil Z Date: Fri, 28 Apr 2023 22:22:28 +0300 Subject: [PATCH] Fix ResolverBuilder visibility --- README.md | 4 ++-- pom.xml | 2 +- src/main/java/ink/glowing/text/InkyMessage.java | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 60525d2..ea70474 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ Add to dependencies ink.glowing inkymessage - 0.9.0 + 0.9.1 ``` ### Gradle @@ -57,6 +57,6 @@ repositories { } dependencies { - implementation("ink.glowing:inkymessage:0.9.0") // Check the version above + implementation("ink.glowing:inkymessage:0.9.1") // Check the version above } ``` \ No newline at end of file diff --git a/pom.xml b/pom.xml index f837071..39887aa 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ ink.glowing inkymessage - 0.9.0 + 0.9.1 4.13.1 diff --git a/src/main/java/ink/glowing/text/InkyMessage.java b/src/main/java/ink/glowing/text/InkyMessage.java index 612b0d5..0e94f9d 100644 --- a/src/main/java/ink/glowing/text/InkyMessage.java +++ b/src/main/java/ink/glowing/text/InkyMessage.java @@ -110,7 +110,7 @@ private enum Provider implements InstanceProvider { } } - public interface Resolver { + public sealed interface Resolver permits IMResolverImpl { /** * Contains recommended options for a resolver * Using standard style tags, replacers, and Notchian symbolic styles @@ -145,7 +145,7 @@ public interface Resolver { @NotNull InkyMessage.ResolverBuilder toBuilder(); } - static class ResolverBuilder implements AbstractBuilder { + public static class ResolverBuilder implements AbstractBuilder { private Set> tags; private Set replacers; private Set symbolics;