Archived
0

Moved colorification of expired messages

This commit is contained in:
Nemes 2017-07-25 15:18:19 +02:00 committed by GitHub
parent cbb2429d52
commit 83f735c74d

View File

@ -13,7 +13,7 @@ public abstract class ClickCallback {
public ClickCallback(boolean repeatable, boolean async, String expiredMessage) {
this.repeatable = repeatable;
this.async = async;
this.expiredMessage = ChatAPI.colorify(null, expiredMessage);
this.expiredMessage = expiredMessage;
this.expired = false;
}
@ -24,7 +24,7 @@ public abstract class ClickCallback {
run(sender);
}else{
if (sender != null) {
sender.sendMessage(expiredMessage);
sender.sendMessage(ChatAPI.colorify(null, expiredMessage));
}
}
if (!repeatable) {