Fix a typo

This commit is contained in:
dilnu 2018-08-04 22:42:22 -04:00
parent 988b64866c
commit 3e0a92fed8
2 changed files with 2 additions and 3 deletions

View file

@ -19,7 +19,6 @@ import mage.counters.CounterType;
import mage.filter.StaticFilters; import mage.filter.StaticFilters;
import mage.game.Game; import mage.game.Game;
import mage.game.permanent.Permanent; import mage.game.permanent.Permanent;
import mage.game.stack.Spell;
import mage.util.CardUtil; import mage.util.CardUtil;
/** /**
@ -86,7 +85,7 @@ class AnimarCostReductionEffect extends CostModificationEffectImpl {
public boolean applies(Ability abilityToModify, Ability source, Game game) { public boolean applies(Ability abilityToModify, Ability source, Game game) {
if (abilityToModify instanceof SpellAbility) { if (abilityToModify instanceof SpellAbility) {
if (abilityToModify.isControlledBy(source.getControllerId())) { if (abilityToModify.isControlledBy(source.getControllerId())) {
Card spell = ((SpellAbility) abilityToModify).getCharachteristics(game); Card spell = ((SpellAbility) abilityToModify).getCharacteristics(game);
if (spell != null) { if (spell != null) {
return spell.isCreature(); return spell.isCreature();
} }

View file

@ -212,7 +212,7 @@ public class SpellAbility extends ActivatedAbilityImpl {
return this; return this;
} }
public Card getCharachteristics(Game game) { public Card getCharacteristics(Game game) {
Spell spell = game.getSpell(this.getId()); Spell spell = game.getSpell(this.getId());
if (spell != null) { if (spell != null) {
return spell; return spell;