mirror of
https://github.com/magefree/mage.git
synced 2026-01-25 20:59:14 -08:00
Some formatting, NPE checking and log messages.
This commit is contained in:
parent
e57aee7fcb
commit
e51213a72a
3 changed files with 13 additions and 8 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue