mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-26 11:07:55 +01:00
Fix logic behind setting reply-recipient when receiving a message.
This commit is contained in:
parent
7b60552ec1
commit
928f05ca8f
@ -105,7 +105,7 @@ public class SimpleMessageRecipient implements IMessageRecipient {
|
||||
if (ess.getSettings().isLastMessageReplyRecipient()) {
|
||||
// If this recipient doesn't have a reply recipient, initiate by setting the first
|
||||
// message sender to this recipient's replyRecipient.
|
||||
if (!isReachable()) {
|
||||
if (getReplyRecipient() == null || !getReplyRecipient().isReachable()) {
|
||||
setReplyRecipient(sender);
|
||||
}
|
||||
} else { // Old message functionality, always set the reply recipient to the last person who sent us a message.
|
||||
|
Loading…
Reference in New Issue
Block a user