private void dropPrivileges(Player player){
  if (!AdministrationAction.isPlayerAllowedToExecuteAdminCommand(player,Actions.TELECLICKMODE,false)) {
    player.setTeleclickEnabled(false);
  }
  if (!AdministrationAction.isPlayerAllowedToExecuteAdminCommand(player,Actions.GHOSTMODE,false)) {
    player.setGhost(false);
  }
  if (!AdministrationAction.isPlayerAllowedToExecuteAdminCommand(player,Actions.INVISIBLE,false)) {
    player.setInvisible(false);
  }
}

private void dropPrivileges ( Player player ) { if ( ! AdministrationAction . isPlayerAllowedToExecuteAdminCommand ( player , Actions . TELECLICKMODE , false ) ) { player . setTeleclickEnabled ( false ) ; } if ( ! AdministrationAction . isPlayerAllowedToExecuteAdminCommand ( player , Actions . GHOSTMODE , false ) ) { player . setGhost ( false ) ; } if ( ! AdministrationAction . isPlayerAllowedToExecuteAdminCommand ( player , Actions . INVISIBLE , false ) ) { player . setInvisible ( false ) ; } }
drop persistent administrator attributes if the player is no longer allowed to have them .
