GUI: fixed broken add lands and random deck dialogs in deck editor (#7562);

This commit is contained in:
Oleg Agafonov 2021-02-13 20:26:06 +04:00
parent e94fd1b456
commit eb64a7bb73
7 changed files with 34 additions and 20 deletions

View file

@ -238,7 +238,7 @@ public final class DeckBuilder {
}
private int getManaCostScore(Card card, List<ColoredManaSymbol> allowedColors) {
int converted = card.getManaCost().convertedManaCost();
int converted = card.getConvertedManaCost();
final Map<String, Integer> singleCount = new HashMap<>();
int maxSingleCount = 0;
int multicolor = 0;
@ -276,7 +276,7 @@ public final class DeckBuilder {
}
public int getConvertedCost() {
return this.card.getManaCost().convertedManaCost();
return this.card.getConvertedManaCost();
}
public Card getCard() {