updated Tiny Leaders to allow planeswalkers as commanders

This commit is contained in:
Evan Kranzler 2019-06-07 14:03:04 -04:00
parent 4b8a2c21d1
commit 105a919425

View file

@ -1,6 +1,5 @@
package mage.deck;
import mage.abilities.common.CanBeYourCommanderAbility;
import mage.cards.Card;
import mage.cards.ExpansionSet;
import mage.cards.Sets;
@ -150,8 +149,7 @@ public class TinyLeaders extends Constructed {
}
return false;
}
if ((commander.isCreature() && commander.isLegendary())
|| (commander.isPlaneswalker() && commander.getAbilities().contains(CanBeYourCommanderAbility.getInstance()))) {
if ((commander.isCreature() && commander.isLegendary()) || commander.isPlaneswalker()) {
if (!bannedCommander.contains(commander.getName())) {
FilterMana color = commander.getColorIdentity();
for (Card card : deck.getCards()) {