Slightly better advancement messages

This commit is contained in:
cnaude 2017-05-24 06:20:26 -07:00
parent 09eabbfeb1
commit 198d70a332

View File

@ -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)) {