Skip to content

Commit

Permalink
Fix ResolverBuilder visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
imDaniX committed Apr 28, 2023
1 parent cd60a7b commit 4670d23
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Add to dependencies
<dependency>
<groupId>ink.glowing</groupId>
<artifactId>inkymessage</artifactId>
<version>0.9.0</version> <!-- Check the version above -->
<version>0.9.1</version> <!-- Check the version above -->
</dependency>
```
### Gradle
Expand All @@ -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
}
```
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>ink.glowing</groupId>
<artifactId>inkymessage</artifactId>
<version>0.9.0</version>
<version>0.9.1</version>

<properties>
<adventure.version>4.13.1</adventure.version>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/ink/glowing/text/InkyMessage.java
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ private enum Provider implements InstanceProvider<InkyMessage> {
}
}

public interface Resolver {
public sealed interface Resolver permits IMResolverImpl {
/**
* Contains recommended options for a resolver
* Using standard style tags, replacers, and Notchian symbolic styles
Expand Down Expand Up @@ -145,7 +145,7 @@ public interface Resolver {
@NotNull InkyMessage.ResolverBuilder toBuilder();
}

static class ResolverBuilder implements AbstractBuilder<Resolver> {
public static class ResolverBuilder implements AbstractBuilder<Resolver> {
private Set<StyleTag<?>> tags;
private Set<Replacer> replacers;
private Set<SymbolicStyle> symbolics;
Expand Down

0 comments on commit 4670d23

Please sign in to comment.