mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-22 21:43:41 +00:00
Add isReachable API to IMessageRecipient.
Add translatable message recentlyForeverAlone. Add behaviour that preserves reply-recipient only if they are reachable, and update reply-recipient if they are not reachable. Fixes #248
This commit is contained in:
parent
e5ebeaf724
commit
26045e2ec0
6 changed files with 33 additions and 5 deletions
|
@ -50,6 +50,10 @@ public final class Console implements IMessageRecipient {
|
|||
@Override public void sendMessage(String message) {
|
||||
getCommandSender().sendMessage(message);
|
||||
}
|
||||
|
||||
@Override public boolean isReachable() {
|
||||
return true;
|
||||
}
|
||||
|
||||
/* ================================
|
||||
* >> DELEGATE METHODS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue