mirror of
https://github.com/magefree/mage.git
synced 2025-12-28 06:22:01 -08:00
Fixed that in tournament a automatically generated deck will be submitted if player doesn't submit a deck in time (fixes #421).
This commit is contained in:
parent
21b582fbd3
commit
915651335a
12 changed files with 261 additions and 87 deletions
|
|
@ -1512,7 +1512,7 @@ public class ComputerPlayer<T extends ComputerPlayer<T>> extends PlayerImpl<T> i
|
|||
}
|
||||
chosenColors = chooseDeckColorsIfPossible();
|
||||
}
|
||||
deck = buildDeck(new ArrayList<Card>(deck.getSideboard()), chosenColors);
|
||||
deck = buildDeck(new ArrayList<>(deck.getSideboard()), chosenColors);
|
||||
}
|
||||
tournament.submitDeck(playerId, deck);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue