From 198d70a332e8271a6243087e8b9bc294b560b80e Mon Sep 17 00:00:00 2001 From: cnaude Date: Wed, 24 May 2017 06:20:26 -0700 Subject: [PATCH] Slightly better advancement messages --- src/main/java/com/cnaude/purpleirc/PurpleBot.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/cnaude/purpleirc/PurpleBot.java b/src/main/java/com/cnaude/purpleirc/PurpleBot.java index 4d1f481..2cec6f3 100644 --- a/src/main/java/com/cnaude/purpleirc/PurpleBot.java +++ b/src/main/java/com/cnaude/purpleirc/PurpleBot.java @@ -1899,7 +1899,7 @@ public final class PurpleBot { if (!this.isConnected() || advancement == null || player == null) { return; } - String message = advancement.toString(); + String message = Joiner.on(" ").join(advancement.getCriteria()); for (String channelName : botChannels) { if (isMessageEnabled(channelName, TemplateName.GAME_ADVANCEMENT) && isPlayerInValidWorld(player, channelName)) {