mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
[MH2] fixed Verdant Command not being able to target loyalty abilities (fixes #8054)
This commit is contained in:
parent
6acfe2ae5f
commit
978893aba9
1 changed files with 2 additions and 2 deletions
|
@ -77,10 +77,10 @@ enum VerdantCommandPredicate implements Predicate<StackObject> {
|
|||
|
||||
@Override
|
||||
public boolean apply(StackObject input, Game game) {
|
||||
if (!(input instanceof LoyaltyAbility)) {
|
||||
if (!(input.getStackAbility() instanceof LoyaltyAbility)) {
|
||||
return false;
|
||||
}
|
||||
Permanent permanent = ((LoyaltyAbility) input).getSourcePermanentOrLKI(game);
|
||||
Permanent permanent = ((LoyaltyAbility) input.getStackAbility()).getSourcePermanentOrLKI(game);
|
||||
return permanent != null && permanent.isPlaneswalker(game);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue