mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 13:32:06 -08:00
* GUI: fixed wrong deck validation in Deck Editor for partners and planeswalker's commanders;
This commit is contained in:
parent
4b0381e074
commit
5dcdbcfd4f
3 changed files with 31 additions and 3 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue