Skip to content

Commit 57cb5d1

Browse files
committed
Fix compilation
1 parent 5e9d90b commit 57cb5d1

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>ink.glowing</groupId>
88
<artifactId>inkymessage</artifactId>
9-
<version>0.3</version>
9+
<version>0.3.1</version>
1010

1111
<properties>
1212
<adventure.version>4.13.1</adventure.version>

src/main/java/ink/glowing/text/RichText.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,5 @@ public RichText(@NotNull String text, @NotNull List<Modifier.Prepared> modifiers
7878
return comp.append(text(substring).style(style));
7979
}
8080

81-
private record Included(@NotNull Component component, @NotNull Style lastStyle) {}
81+
public record Included(@NotNull Component component, @NotNull Style lastStyle) {}
8282
}

src/test/java/ink/glowing/text/InkyMessageTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ public Object[][] deserializeData() {
5555
.append(text(", red again").color(RED))
5656
},
5757
{
58-
"\\&aRegular \\&[text](color:gold), and some&b aqua",
58+
"\\&aRegular \\&[text](color:gold), and some&b \\aqua",
5959
text("&aRegular &[text](color:gold), and some")
60-
.append(text(" aqua").color(AQUA))
60+
.append(text(" \\aqua").color(AQUA))
6161
}
6262
};
6363
}

0 commit comments

Comments
 (0)