Fixed QuestCommander deck editor, hopefully.

This commit is contained in:
Jetz
2024-07-13 19:17:09 -04:00
committed by Chris H
parent 74b27f881a
commit 983f2d2856
5 changed files with 46 additions and 18 deletions

View File

@@ -214,7 +214,7 @@ public abstract class ACEditorBase<TItem extends InventoryItem, TModel extends D
Iterable<Entry<String,Integer>> cardsByName = null;
if (deck != null) {
final CardPool allCards = deck.getAllCardsInASinglePool(deck.has(DeckSection.Commander));
final CardPool allCards = deck.getAllCardsInASinglePool();
cardsByName = Aggregates.groupSumBy(allCards, pc -> pc.getRules().getNormalizedName());
}