From 2ae57d02ab396010c93d1c83b94d60f6bacdac9b Mon Sep 17 00:00:00 2001 From: EpicKnarvik97 Date: Sat, 13 Sep 2025 17:13:39 +0200 Subject: [PATCH] Changes the message prefix to BwB --- pom.xml | 2 +- .../net/knarcraft/bookswithoutborders/BooksWithoutBorders.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index c4294f1..db2e860 100644 --- a/pom.xml +++ b/pom.xml @@ -125,7 +125,7 @@ net.knarcraft knarlib - 1.2.16 + 1.2.17 compile diff --git a/src/main/java/net/knarcraft/bookswithoutborders/BooksWithoutBorders.java b/src/main/java/net/knarcraft/bookswithoutborders/BooksWithoutBorders.java index b2df185..1011730 100644 --- a/src/main/java/net/knarcraft/bookswithoutborders/BooksWithoutBorders.java +++ b/src/main/java/net/knarcraft/bookswithoutborders/BooksWithoutBorders.java @@ -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"));