mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-27 19:47:42 +01:00
Add silent msg ignoring in msg command
This commit is contained in:
parent
c592a9d361
commit
fe9348b3fb
@ -66,6 +66,9 @@ public class Commandmsg extends EssentialsLoopCommand {
|
||||
if (sender.isPlayer() && matchedUser.isIgnoredPlayer(ess.getUser(sender.getPlayer()))) {
|
||||
return;
|
||||
}
|
||||
if (matchedUser.isIgnoreMsg()) {
|
||||
return;
|
||||
}
|
||||
|
||||
matchedUser.sendMessage(tl("msgFormat", senderName, translatedMe, args[0]));
|
||||
replyTo.setReplyTo(matchedUser.getSource());
|
||||
|
Loading…
Reference in New Issue
Block a user