* GUI: fixed wrong deck validation in Deck Editor for partners and planeswalker's commanders;

This commit is contained in:
Oleg Agafonov 2021-07-25 10:31:22 +04:00
parent 4b0381e074
commit 5dcdbcfd4f
3 changed files with 31 additions and 3 deletions

View file

@ -145,7 +145,6 @@ public class Deck implements Serializable {
deckCardLists.setName(name);
for (Card card : cards) {
deckCardLists.getCards().add(new DeckCardInfo(card.getName(), card.getCardNumber(), card.getExpansionSetCode()));
}
for (Card card : sideboard) {

View file

@ -14,7 +14,7 @@ import java.util.ArrayList;
import java.util.List;
/**
* Mock card for GUI (deck editor and panels)
* Mock card for GUI (deck editor and panels, contains only texts)
*
* @author North
*/