Commanders can be other types than a creature.
Commanders do not have to be creatures. They can also be Planeswalkers (Commander 2015, Commander 2018), but also can be other types (e.g. lands when enchanted by Song of the Dryads or Imprisoned in the Moon).
@@ -19,13 +19,12 @@ public class CommanderPredicate implements Predicate<Permanent> {
@Override
public boolean apply(Permanent input, Game game) {
Player owner = game.getPlayer(input.getOwnerId());
- return input.isCreature()
- && owner != null
+ return owner != null
&& owner.getCommandersIds().contains(input.getId());
}
@Override
public String toString() {
- return "Commander creature";
+ return "Commander";
}
}
