fixed silver bordered cards being legal in commander
package mage.deck;
-import java.util.*;
import mage.ObjectColor;
import mage.abilities.Ability;
import mage.abilities.common.CanBeYourCommanderAbility;
@@ -15,8 +14,9 @@ import mage.cards.decks.Deck;
import mage.constants.SetType;
import mage.filter.FilterMana;
+import java.util.*;
+
/**
- *
* @author Plopman
*/
public class Commander extends Constructed {
@@ -27,7 +27,8 @@ public class Commander extends Constructed {
public Commander() {
this("Commander");
for (ExpansionSet set : Sets.getInstance().values()) {
- if (set.getSetType() != SetType.CUSTOM_SET) {
+ if (set.getSetType() != SetType.CUSTOM_SET
+ && set.getSetType() != SetType.JOKESET) {
setCodes.add(set.getCode());
}
}
