Some formatting, NPE checking and log messages.

This commit is contained in:
LevelX2 2014-06-20 08:25:03 +02:00
parent e57aee7fcb
commit e51213a72a
3 changed files with 13 additions and 8 deletions

View file

@ -123,7 +123,7 @@ class BattlefieldThaumaturgeSpellsCostReductionEffect extends CostModificationEf
if ((abilityToModify instanceof SpellAbility)
&& abilityToModify.getControllerId().equals(source.getControllerId())) {
Spell spell = (Spell) game.getStack().getStackObject(abilityToModify.getId());
return spell != null && this.filter.match(spell, game);
return spell != null && BattlefieldThaumaturgeSpellsCostReductionEffect.filter.match(spell, game);
}
return false;
}