mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-04-25 16:09:44 +00:00
Add silent msg ignoring in msg command
This commit is contained in:
parent
c592a9d361
commit
fe9348b3fb
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue