Whispers from admins can't be ignored.
This commit is contained in:
@@ -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());
|
||||||
|
|||||||
Reference in New Issue
Block a user