Skip to content

Commit

Permalink
Fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
imDaniX committed Apr 14, 2023
1 parent 5e9d90b commit 57cb5d1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
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.3</version>
<version>0.3.1</version>

<properties>
<adventure.version>4.13.1</adventure.version>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/ink/glowing/text/RichText.java
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,5 @@ public RichText(@NotNull String text, @NotNull List<Modifier.Prepared> modifiers
return comp.append(text(substring).style(style));
}

private record Included(@NotNull Component component, @NotNull Style lastStyle) {}
public record Included(@NotNull Component component, @NotNull Style lastStyle) {}
}
4 changes: 2 additions & 2 deletions src/test/java/ink/glowing/text/InkyMessageTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ public Object[][] deserializeData() {
.append(text(", red again").color(RED))
},
{
"\\&aRegular \\&[text](color:gold), and some&b aqua",
"\\&aRegular \\&[text](color:gold), and some&b \\aqua",
text("&aRegular &[text](color:gold), and some")
.append(text(" aqua").color(AQUA))
.append(text(" \\aqua").color(AQUA))
}
};
}
Expand Down

0 comments on commit 57cb5d1

Please sign in to comment.