mirror of
https://github.com/cnaude/PurpleIRC-spigot.git
synced 2024-11-05 18:09:37 +01:00
Slightly better advancement messages
This commit is contained in:
parent
09eabbfeb1
commit
198d70a332
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user