mirror of
https://github.com/cnaude/PurpleIRC-spigot.git
synced 2025-01-23 16:01:29 +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) {
|
if (!this.isConnected() || advancement == null || player == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
String message = advancement.toString();
|
String message = Joiner.on(" ").join(advancement.getCriteria());
|
||||||
for (String channelName : botChannels) {
|
for (String channelName : botChannels) {
|
||||||
if (isMessageEnabled(channelName, TemplateName.GAME_ADVANCEMENT)
|
if (isMessageEnabled(channelName, TemplateName.GAME_ADVANCEMENT)
|
||||||
&& isPlayerInValidWorld(player, channelName)) {
|
&& isPlayerInValidWorld(player, channelName)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user