mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
- little cleanup
This commit is contained in:
parent
d2f20e3924
commit
d0553b3c3a
1 changed files with 0 additions and 14 deletions
|
@ -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<Controllable> {
|
|||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue