You must pass the "Player" instance here as isIgnoringOthersMessages() takes the parameter Player player.