forked from External/mage
GUI: fixed broken add lands and random deck dialogs in deck editor (#7562);
This commit is contained in:
parent
e94fd1b456
commit
eb64a7bb73
7 changed files with 34 additions and 20 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue