Tell players to use /a when they message staff w/ DMs disabled
This commit is contained in:
parent
1d6f36d53e
commit
7e4d6c4320
@ -172,8 +172,13 @@ public class MessageManager extends MiniClientPlugin<ClientMessage>
|
||||
// If the receiver has turned off private messaging and the sender isn't a mod
|
||||
if (!_preferences.get(target).isActive(Preference.PRIVATE_MESSAGING))
|
||||
{
|
||||
return C.cPurple + target.getName() + " has private messaging disabled.";
|
||||
String message = C.cPurple + target.getName() + " has private messaging disabled.";
|
||||
|
||||
if (GetClientManager().Get(target).hasPermission(Perm.SEE_ADMIN)) {
|
||||
return message + " Try using /a <message> to contact them instead!";
|
||||
}
|
||||
|
||||
return message;
|
||||
}
|
||||
|
||||
// If the receiver is ignoring the sender, and the sender isn't a mod
|
||||
|
Loading…
Reference in New Issue
Block a user