Changes the message prefix to BwB
All checks were successful
EpicKnarvik97/Books-Without-Borders/pipeline/head This commit looks good

This commit is contained in:
2025-09-13 17:13:39 +02:00
parent fd023af14d
commit 2ae57d02ab
2 changed files with 2 additions and 2 deletions

View File

@@ -125,7 +125,7 @@
<dependency>
<groupId>net.knarcraft</groupId>
<artifactId>knarlib</artifactId>
<version>1.2.16</version>
<version>1.2.17</version>
<scope>compile</scope>
</dependency>
<dependency>

View File

@@ -217,7 +217,7 @@ public class BooksWithoutBorders extends ConfigCommentPlugin {
translator.registerMessageCategory(SignText.SIGN_HEADER);
translator.registerMessageCategory(Placeholder.AUTHOR);
StringFormatter stringFormatter = new StringFormatter(this.getDescription().getName(), translator);
StringFormatter stringFormatter = new StringFormatter("BwB", translator);
stringFormatter.setColorConversion(ColorConversion.RGB);
stringFormatter.setSuccessColor(ChatColor.of("#A9FF84"));
stringFormatter.setErrorColor(ChatColor.of("#FF84A9"));