diff --git a/nb-configuration.xml b/nb-configuration.xml new file mode 100644 index 0000000..5616f15 --- /dev/null +++ b/nb-configuration.xml @@ -0,0 +1,19 @@ + + + + + + JDK_11 + true + + diff --git a/pom.xml b/pom.xml index 33fa527..707a078 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ me.totalfreedom TFGuilds - 0.3.1 + 2021.03-RC01 jar TFGuilds @@ -25,8 +25,8 @@ maven-compiler-plugin 3.8.1 - 1.8 - 1.8 + 11 + 11 diff --git a/src/main/java/me/totalfreedom/tfguilds/listener/ChatListener.java b/src/main/java/me/totalfreedom/tfguilds/listener/ChatListener.java index d819bee..2dfe501 100644 --- a/src/main/java/me/totalfreedom/tfguilds/listener/ChatListener.java +++ b/src/main/java/me/totalfreedom/tfguilds/listener/ChatListener.java @@ -84,7 +84,8 @@ public class ChatListener implements Listener if (guild.hasTag()) { - System.out.println(GUtil.colorize(guild.getTag().replace("%rank%", display)) + ChatColor.RESET + " " + e.getFormat()); + // This seems to result in the entry being logged twice on the console, which is silly... Not sure if there was a good reason for it. + //System.out.println(GUtil.colorize(guild.getTag().replace("%rank%", display)) + ChatColor.RESET + " " + e.getFormat()); e.setFormat(GUtil.colorize(guild.getTag().replace("%rank%", display)) + ChatColor.RESET + " " + e.getFormat()); } }