mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
Fix so cards with multiple subtypes have them appear in the correct order
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user