mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
fixed: human deck after draft was saved with empty name
This commit is contained in:
@@ -324,10 +324,8 @@ public class DraftingProcess extends DeckEditorBase<CardPrinted, DeckGroup> {
|
||||
// save draft
|
||||
final Deck[] computer = this.boosterDraft.getDecks();
|
||||
|
||||
final Deck human = this.getPlayersDeck();
|
||||
|
||||
final DeckGroup finishedDraft = new DeckGroup("Draft " + s);
|
||||
finishedDraft.setHumanDeck(human);
|
||||
finishedDraft.setHumanDeck((Deck)this.getPlayersDeck().copyTo(s));
|
||||
finishedDraft.addAiDecks(computer);
|
||||
|
||||
// DeckManager deckManager = new
|
||||
|
||||
Reference in New Issue
Block a user