mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 02:38:02 +00:00
fix copying deck to clipboard
This commit is contained in:
@@ -189,7 +189,7 @@ public class FDeckViewer extends FDialog {
|
||||
sectionCards = new TreeMap<>();
|
||||
deckList.append(nl);
|
||||
for (final Entry<PaperCard, Integer> ev : cp) {
|
||||
cardName = ev.getKey().toString();
|
||||
cardName = ev.getKey().getCardName();
|
||||
if (sectionCards.containsKey(cardName)) {
|
||||
sectionCards.put(cardName, (int)sectionCards.get(cardName) + ev.getValue());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user