mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
CardThemedDeckBuilder: some final fixes
This commit is contained in:
@@ -509,7 +509,7 @@ public class CardThemedDeckBuilder extends DeckGeneratorBase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Predicate<PaperCard> possibleFromFullPool = new Predicate<PaperCard>() {
|
Predicate<PaperCard> possibleFromFullPool = new Predicate<PaperCard>() {
|
||||||
Set deckListNames = getDeckListNames();
|
final Set<String> deckListNames = getDeckListNames();
|
||||||
@Override
|
@Override
|
||||||
public boolean apply(PaperCard card) {
|
public boolean apply(PaperCard card) {
|
||||||
return format.isLegalCard(card)
|
return format.isLegalCard(card)
|
||||||
@@ -617,7 +617,7 @@ public class CardThemedDeckBuilder extends DeckGeneratorBase {
|
|||||||
|
|
||||||
deckList.addAll(snowLands);
|
deckList.addAll(snowLands);
|
||||||
aiPlayables.removeAll(snowLands);
|
aiPlayables.removeAll(snowLands);
|
||||||
rankedColorList.remove(snowLands);
|
rankedColorList.removeAll(snowLands);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -744,7 +744,7 @@ public class CardThemedDeckBuilder extends DeckGeneratorBase {
|
|||||||
* number to add
|
* number to add
|
||||||
*/
|
*/
|
||||||
private void addRandomCards(int num) {
|
private void addRandomCards(int num) {
|
||||||
Set deckListNames = getDeckListNames();
|
final Set<String> deckListNames = getDeckListNames();
|
||||||
Predicate<PaperCard> possibleFromFullPool = new Predicate<PaperCard>() {
|
Predicate<PaperCard> possibleFromFullPool = new Predicate<PaperCard>() {
|
||||||
@Override
|
@Override
|
||||||
public boolean apply(PaperCard card) {
|
public boolean apply(PaperCard card) {
|
||||||
|
|||||||
Reference in New Issue
Block a user