// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Game.Rulesets.Catch.Judgements; using osu.Game.Rulesets.Judgements; using osu.Game.Rulesets.Mods; using osu.Game.Rulesets.Scoring; namespace osu.Game.Rulesets.Catch.Mods { public class CatchModPerfect : ModPerfect { protected override bool FailCondition(HealthProcessor healthProcessor, JudgementResult result) => !(result.Judgement is CatchBananaJudgement) && base.FailCondition(healthProcessor, result); } }