From d0553b3c3afbce561a85c24fe2b104463c4221c7 Mon Sep 17 00:00:00 2001 From: jeffwadsworth Date: Tue, 16 Jun 2020 11:14:28 -0500 Subject: [PATCH] - little cleanup --- .../mageobject/NumberOfTargetsPredicate.java | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/Mage/src/main/java/mage/filter/predicate/mageobject/NumberOfTargetsPredicate.java b/Mage/src/main/java/mage/filter/predicate/mageobject/NumberOfTargetsPredicate.java index e5c060ea0d..97cfe4d37f 100644 --- a/Mage/src/main/java/mage/filter/predicate/mageobject/NumberOfTargetsPredicate.java +++ b/Mage/src/main/java/mage/filter/predicate/mageobject/NumberOfTargetsPredicate.java @@ -1,8 +1,6 @@ - package mage.filter.predicate.mageobject; import java.util.UUID; -import mage.MageObject; import mage.abilities.Mode; import mage.filter.predicate.Predicate; import mage.game.Controllable; @@ -37,18 +35,6 @@ public class NumberOfTargetsPredicate implements Predicate { return true; } } -// Spell spell = game.getStack().getSpell(input.getId()); -// if (spell != null) { -// int numberOfTargets = 0; -// for (Mode mode : spell.getSpellAbility().getModes().getSelectedModes()) { -// for (Target target : mode.getTargets()) { -// numberOfTargets += target.getTargets().size(); -// } -// } -// if (numberOfTargets == targets) { -// return true; -// } -// } return false; }