Whispers from admins can't be ignored.

This commit is contained in:
ryanhamshire 2015-12-15 14:30:28 -08:00
parent bd75c53cda
commit 543de27307

View File

@ -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());