From 7e5f873251826c201579ff365f1ff694853c5b98 Mon Sep 17 00:00:00 2001 From: Duncan Townsend Date: Sun, 25 Jan 2015 17:06:00 -0500 Subject: [PATCH] Fixed capitalization mistake "setMaxNumberOftargets" -> "setMaxNumberOfTargets" --- Mage.Sets/src/mage/sets/khansoftarkir/NecropolisFiend.java | 2 +- Mage/src/mage/game/stack/Spell.java | 2 +- Mage/src/mage/target/Target.java | 2 +- Mage/src/mage/target/TargetImpl.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Mage.Sets/src/mage/sets/khansoftarkir/NecropolisFiend.java b/Mage.Sets/src/mage/sets/khansoftarkir/NecropolisFiend.java index 34fa39bad8..810e5895d2 100644 --- a/Mage.Sets/src/mage/sets/khansoftarkir/NecropolisFiend.java +++ b/Mage.Sets/src/mage/sets/khansoftarkir/NecropolisFiend.java @@ -110,7 +110,7 @@ public class NecropolisFiend extends CardImpl { ExileFromGraveCost exileCost = (ExileFromGraveCost) cost; for(Target target: exileCost.getTargets()) { if (target instanceof TargetCardInYourGraveyard) { - target.setMaxNumberOftargets(xValue); + target.setMaxNumberOfTargets(xValue); target.setMinNumberOfTargets(xValue); } } diff --git a/Mage/src/mage/game/stack/Spell.java b/Mage/src/mage/game/stack/Spell.java index 2392c972b6..cc2af9596e 100644 --- a/Mage/src/mage/game/stack/Spell.java +++ b/Mage/src/mage/game/stack/Spell.java @@ -455,7 +455,7 @@ public class Spell implements StackObject, Card { ((TargetAmount)tempTarget).setAmountDefinition(new StaticValue(target.getTargetAmount(targetId))); } tempTarget.setMinNumberOfTargets(1); - tempTarget.setMaxNumberOftargets(1); + tempTarget.setMaxNumberOfTargets(1); boolean again; do { again = false; diff --git a/Mage/src/mage/target/Target.java b/Mage/src/mage/target/Target.java index bdd210b8dd..4639f7702f 100644 --- a/Mage/src/mage/target/Target.java +++ b/Mage/src/mage/target/Target.java @@ -88,7 +88,7 @@ public interface Target extends Serializable { int getNumberOfTargets(); int getMaxNumberOfTargets(); void setMinNumberOfTargets(int minNumberofTargets); - void setMaxNumberOftargets(int maxNumberofTargets); + void setMaxNumberOfTargets(int maxNumberofTargets); List getTargets(); Filter getFilter(); diff --git a/Mage/src/mage/target/TargetImpl.java b/Mage/src/mage/target/TargetImpl.java index bd4b05f69e..2056520b07 100644 --- a/Mage/src/mage/target/TargetImpl.java +++ b/Mage/src/mage/target/TargetImpl.java @@ -103,7 +103,7 @@ public abstract class TargetImpl implements Target { } @Override - public void setMaxNumberOftargets(int maxNumberOftargets) { + public void setMaxNumberOfTargets(int maxNumberOftargets) { this.maxNumberOfTargets = maxNumberOftargets; }