Fix so cards with multiple subtypes have them appear in the correct order

This commit is contained in:
drdev
2014-10-18 00:05:14 +00:00
parent 81e2815cbe
commit 5b600bf592
2 changed files with 1 additions and 2 deletions

View File

@@ -89,7 +89,7 @@ public final class CardType implements Comparable<CardType>, CardTypeView {
private final EnumSet<CoreType> coreTypes = EnumSet.noneOf(CoreType.class);
private final EnumSet<Supertype> supertypes = EnumSet.noneOf(Supertype.class);
private final HashSet<String> subtypes = new HashSet<String>();
private final LinkedHashSet<String> subtypes = new LinkedHashSet<String>();
private String calculatedType = null;
public CardType() {

View File

@@ -93,7 +93,6 @@ public class BoosterDraftAI {
}
}
int cntBestCards = 0;
double bestRanking = Double.MAX_VALUE;
PaperCard bestPick = null;
final List<PaperCard> possiblePick = new ArrayList<PaperCard>();