Whispers from admins can't be ignored.
This commit is contained in:
parent
bd75c53cda
commit
543de27307
|
|
@ -533,7 +533,7 @@ class PlayerEventHandler implements Listener
|
||||||
}
|
}
|
||||||
|
|
||||||
//ignore feature
|
//ignore feature
|
||||||
if(targetPlayer != null && targetPlayer.isOnline())
|
if(!player.hasPermission("griefprevention.notignorable") && targetPlayer != null && targetPlayer.isOnline())
|
||||||
{
|
{
|
||||||
//if either is ignoring the other, cancel this command
|
//if either is ignoring the other, cancel this command
|
||||||
playerData = this.dataStore.getPlayerData(player.getUniqueId());
|
playerData = this.dataStore.getPlayerData(player.getUniqueId());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user