mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
- Fixed ConcurrentModificationException in InputMulligan.
This commit is contained in:
@@ -118,7 +118,7 @@ public class InputMulligan extends Input {
|
|||||||
|
|
||||||
final GameAction ga = game.getAction();
|
final GameAction ga = game.getAction();
|
||||||
for (Player p : game.getPlayers()) {
|
for (Player p : game.getPlayers()) {
|
||||||
final List<Card> openingHand = p.getCardsIn(ZoneType.Hand);
|
final List<Card> openingHand = new ArrayList<Card>(p.getCardsIn(ZoneType.Hand));
|
||||||
|
|
||||||
for (final Card c : openingHand) {
|
for (final Card c : openingHand) {
|
||||||
if ( p.isHuman() ) {
|
if ( p.isHuman() ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user