mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-20 15:35:08 +00:00
Replace op ignore exempt with ignore exempt chat permission:
essentials.chat.ignoreexempt This permission won't prevent a player from ignoring the player, but the player will see the chat messages anyway.
This commit is contained in:
parent
4c5a88929c
commit
5da886593b
1 changed files with 1 additions and 2 deletions
|
@ -121,8 +121,7 @@ public abstract class EssentialsChatPlayer implements Listener
|
||||||
{
|
{
|
||||||
String type = _("chatTypeLocal");
|
String type = _("chatTypeLocal");
|
||||||
final User onlineUser = ess.getUser(onlinePlayer);
|
final User onlineUser = ess.getUser(onlinePlayer);
|
||||||
//TODO: remove reference to op
|
if (onlineUser.isIgnoredPlayer(sender.getName()) && !sender.isAuthorized("essentials.chat.ignoreexempt"))
|
||||||
if (onlineUser.isIgnoredPlayer(sender.getName()) && !sender.isOp())
|
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue