diff --git a/Mage.Sets/src/mage/cards/v/VerdantCommand.java b/Mage.Sets/src/mage/cards/v/VerdantCommand.java index 9812eeb26e..838fef8667 100644 --- a/Mage.Sets/src/mage/cards/v/VerdantCommand.java +++ b/Mage.Sets/src/mage/cards/v/VerdantCommand.java @@ -77,10 +77,10 @@ enum VerdantCommandPredicate implements Predicate { @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); } }