diff --git a/Mage.Sets/src/mage/cards/t/TeferiWhoSlowsTheSunset.java b/Mage.Sets/src/mage/cards/t/TeferiWhoSlowsTheSunset.java index 995228baba4..5a521f76f28 100644 --- a/Mage.Sets/src/mage/cards/t/TeferiWhoSlowsTheSunset.java +++ b/Mage.Sets/src/mage/cards/t/TeferiWhoSlowsTheSunset.java @@ -40,9 +40,9 @@ public final class TeferiWhoSlowsTheSunset extends CardImpl { // +1: Choose up to one target artifact, up to one target creature, and up to one target land. Untap the chosen permanents you control. Tap the chosen permanents you don't control. You gain 2 life. Ability ability = new LoyaltyAbility(new TeferiWhoSlowsTheSunsetEffect(), 1); ability.addEffect(new GainLifeEffect(2)); - ability.addTarget(new TargetArtifactPermanent()); - ability.addTarget(new TargetCreaturePermanent()); - ability.addTarget(new TargetLandPermanent()); + ability.addTarget(new TargetArtifactPermanent(0, 1)); + ability.addTarget(new TargetCreaturePermanent(0, 1)); + ability.addTarget(new TargetLandPermanent(0, 1)); this.addAbility(ability); // −2: Look at the top three cards of your library. Put one of them into your hand and the rest on the bottom of your library in any order. diff --git a/Mage/src/main/java/mage/target/common/TargetLandPermanent.java b/Mage/src/main/java/mage/target/common/TargetLandPermanent.java index 2be545ffbcb..a0c69ef1ab7 100644 --- a/Mage/src/main/java/mage/target/common/TargetLandPermanent.java +++ b/Mage/src/main/java/mage/target/common/TargetLandPermanent.java @@ -23,6 +23,10 @@ public class TargetLandPermanent extends TargetPermanent { this(numTargets, numTargets, StaticFilters.FILTER_LAND, false); } + public TargetLandPermanent(int numTargets, int maxNumTargets) { + this(numTargets, maxNumTargets, StaticFilters.FILTER_LAND, false); + } + public TargetLandPermanent(int minNumTargets, int maxNumTargets, FilterLandPermanent filter, boolean notTarget) { super(minNumTargets, maxNumTargets, filter, notTarget); }