diff --git a/Mage.Sets/src/mage/sets/darksteel/MycosynthLattice.java b/Mage.Sets/src/mage/sets/darksteel/MycosynthLattice.java index b4932f8900..4696750cc3 100644 --- a/Mage.Sets/src/mage/sets/darksteel/MycosynthLattice.java +++ b/Mage.Sets/src/mage/sets/darksteel/MycosynthLattice.java @@ -190,7 +190,7 @@ class ManaCanBeSpentAsAnyColorEffect extends AsThoughEffectImpl implements AsTho } @Override - public ManaType getAsThoughtManaType(ManaType manaType, ManaPoolItem mana, UUID affectedControllerId, Ability source, Game game) { + public ManaType getAsThoughManaType(ManaType manaType, ManaPoolItem mana, UUID affectedControllerId, Ability source, Game game) { return mana.getFirstAvailable(); } diff --git a/Mage.Sets/src/mage/sets/limitedalpha/SunglassesOfUrza.java b/Mage.Sets/src/mage/sets/limitedalpha/SunglassesOfUrza.java index 983095cfb1..36adde1b27 100644 --- a/Mage.Sets/src/mage/sets/limitedalpha/SunglassesOfUrza.java +++ b/Mage.Sets/src/mage/sets/limitedalpha/SunglassesOfUrza.java @@ -85,7 +85,7 @@ class SunglassesOfUrzaManaAsThoughtEffect extends AsThoughEffectImpl implements } @Override - public ManaType getAsThoughtManaType(ManaType manaType, ManaPoolItem mana, UUID affectedControllerId, Ability source, Game game) { + public ManaType getAsThoughManaType(ManaType manaType, ManaPoolItem mana, UUID affectedControllerId, Ability source, Game game) { if (mana.getWhite() > 0 && ManaType.RED.equals(manaType)) { return ManaType.WHITE; } diff --git a/Mage.Sets/src/mage/sets/theros/DaxosOfMeletis.java b/Mage.Sets/src/mage/sets/theros/DaxosOfMeletis.java index adc2d74bae..d1537527af 100644 --- a/Mage.Sets/src/mage/sets/theros/DaxosOfMeletis.java +++ b/Mage.Sets/src/mage/sets/theros/DaxosOfMeletis.java @@ -215,7 +215,7 @@ class DaxosOfMeletisSpendAnyManaEffect extends AsThoughEffectImpl implements AsT } @Override - public ManaType getAsThoughtManaType(ManaType manaType, ManaPoolItem mana, UUID affectedControllerId, Ability source, Game game) { + public ManaType getAsThoughManaType(ManaType manaType, ManaPoolItem mana, UUID affectedControllerId, Ability source, Game game) { return mana.getFirstAvailable(); } diff --git a/Mage.Sets/src/mage/sets/theros/PsychicIntrusion.java b/Mage.Sets/src/mage/sets/theros/PsychicIntrusion.java index d8e0268ba8..2598d6fab9 100644 --- a/Mage.Sets/src/mage/sets/theros/PsychicIntrusion.java +++ b/Mage.Sets/src/mage/sets/theros/PsychicIntrusion.java @@ -234,7 +234,7 @@ class PsychicIntrusionSpendAnyManaEffect extends AsThoughEffectImpl implements A } @Override - public ManaType getAsThoughtManaType(ManaType manaType, ManaPoolItem mana, UUID affectedControllerId, Ability source, Game game) { + public ManaType getAsThoughManaType(ManaType manaType, ManaPoolItem mana, UUID affectedControllerId, Ability source, Game game) { return mana.getFirstAvailable(); } } diff --git a/Mage.Sets/src/mage/sets/timeshifted/CelestialDawn.java b/Mage.Sets/src/mage/sets/timeshifted/CelestialDawn.java index 5bd296b708..2fd31ec7fe 100644 --- a/Mage.Sets/src/mage/sets/timeshifted/CelestialDawn.java +++ b/Mage.Sets/src/mage/sets/timeshifted/CelestialDawn.java @@ -240,7 +240,7 @@ class CelestialDawnSpendAnyManaEffect extends AsThoughEffectImpl implements AsTh } @Override - public ManaType getAsThoughtManaType(ManaType manaType, ManaPoolItem mana, UUID affectedControllerId, Ability source, Game game) { + public ManaType getAsThoughManaType(ManaType manaType, ManaPoolItem mana, UUID affectedControllerId, Ability source, Game game) { if (mana.getWhite() > 0) { return ManaType.WHITE; } @@ -275,7 +275,7 @@ class CelestialDawnSpendColorlessManaEffect extends AsThoughEffectImpl implement } @Override - public ManaType getAsThoughtManaType(ManaType manaType, ManaPoolItem mana, UUID affectedControllerId, Ability source, Game game) { + public ManaType getAsThoughManaType(ManaType manaType, ManaPoolItem mana, UUID affectedControllerId, Ability source, Game game) { if (mana.getWhite() == 0 && !ManaType.COLORLESS.equals(manaType)) { return null; } diff --git a/Mage/src/mage/abilities/effects/AsThoughManaEffect.java b/Mage/src/mage/abilities/effects/AsThoughManaEffect.java index 4ff137fc8e..e6ba34f0f3 100644 --- a/Mage/src/mage/abilities/effects/AsThoughManaEffect.java +++ b/Mage/src/mage/abilities/effects/AsThoughManaEffect.java @@ -40,6 +40,6 @@ import mage.players.ManaPoolItem; public interface AsThoughManaEffect extends AsThoughEffect { // return a mana type that can be used to pay a mana cost instead of the normally needed mana type - ManaType getAsThoughtManaType(ManaType manaType, ManaPoolItem mana, UUID affectedControllerId, Ability source, Game game); + ManaType getAsThoughManaType(ManaType manaType, ManaPoolItem mana, UUID affectedControllerId, Ability source, Game game); } diff --git a/Mage/src/mage/abilities/effects/ContinuousEffects.java b/Mage/src/mage/abilities/effects/ContinuousEffects.java index 003f61542b..3477010296 100644 --- a/Mage/src/mage/abilities/effects/ContinuousEffects.java +++ b/Mage/src/mage/abilities/effects/ContinuousEffects.java @@ -556,7 +556,7 @@ public class ContinuousEffects implements Serializable { for (Ability ability : abilities) { if ((affectedAbility == null && effect.applies(objectId, ability, controllerId, game)) || effect.applies(objectId, affectedAbility, ability, game)) { - if (((AsThoughManaEffect) effect).getAsThoughtManaType(manaType, mana, controllerId, ability, game) == null) { + if (((AsThoughManaEffect) effect).getAsThoughManaType(manaType, mana, controllerId, ability, game) == null) { return null; } } @@ -569,7 +569,7 @@ public class ContinuousEffects implements Serializable { for (Ability ability : abilities) { if ((affectedAbility == null && effect.applies(objectId, ability, controllerId, game)) || effect.applies(objectId, affectedAbility, ability, game)) { - ManaType usableManaType = ((AsThoughManaEffect) effect).getAsThoughtManaType(manaType, mana, controllerId, ability, game); + ManaType usableManaType = ((AsThoughManaEffect) effect).getAsThoughManaType(manaType, mana, controllerId, ability, game); if (usableManaType != null) { return usableManaType; }