mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
fix for #5541
This commit is contained in:
parent
5b38f4168f
commit
a3ab49720a
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ class BiomancersFamiliarCostReductionEffect extends CostModificationEffectImpl {
|
||||||
|| (abilityToModify.getAbilityType() == AbilityType.MANA && abilityToModify instanceof ActivatedAbility)) {
|
|| (abilityToModify.getAbilityType() == AbilityType.MANA && abilityToModify instanceof ActivatedAbility)) {
|
||||||
//Activated abilities of creatures you control
|
//Activated abilities of creatures you control
|
||||||
Permanent permanent = game.getPermanent(abilityToModify.getSourceId());
|
Permanent permanent = game.getPermanent(abilityToModify.getSourceId());
|
||||||
if (permanent != null && permanent.isControlledBy(source.getControllerId())) {
|
if (permanent != null && permanent.isCreature() && permanent.isControlledBy(source.getControllerId())) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue