mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-03 19:15:44 +00:00
Always set the message sender's reply-recipient when they send a message.
This commit is contained in:
parent
928f05ca8f
commit
cf448cd1cc
1 changed files with 3 additions and 6 deletions
|
@ -70,13 +70,10 @@ public class SimpleMessageRecipient implements IMessageRecipient {
|
||||||
default:
|
default:
|
||||||
sendMessage(tl("msgFormat", tl("me"), recipient.getDisplayName(), message));
|
sendMessage(tl("msgFormat", tl("me"), recipient.getDisplayName(), message));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ess.getSettings().isLastMessageReplyRecipient()) {
|
|
||||||
// If the message was a success, set this sender's reply-recipient to the current recipient.
|
// If the message was a success, set this sender's reply-recipient to the current recipient.
|
||||||
if (messageResponse.isSuccess()) {
|
if (messageResponse.isSuccess()) {
|
||||||
setReplyRecipient(recipient);
|
setReplyRecipient(recipient);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return messageResponse;
|
return messageResponse;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue