mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 20:41:58 -08:00
Fixes #1836
This commit is contained in:
parent
9365b36387
commit
3f2611de76
5 changed files with 69 additions and 57 deletions
|
|
@ -60,6 +60,10 @@ public class Constructed extends DeckValidator {
|
|||
super(name);
|
||||
}
|
||||
|
||||
public List<String> getSetCodes() {
|
||||
return setCodes;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean validate(Deck deck) {
|
||||
logger.debug("DECK validate start: " + name + " deckname: " + deck.getName());
|
||||
|
|
@ -141,7 +145,7 @@ public class Constructed extends DeckValidator {
|
|||
logger.debug("DECK validate end: " + name + " deckname: " + deck.getName() + " invalids:" + invalid.size());
|
||||
return valid;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Checks if the given card is legal in any of the given rarities
|
||||
* @param card - the card to check
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue