mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 10:18:01 +00:00
- Fixed possible ConcurrentModificationException caused by Gift of the Gargantuan.
This commit is contained in:
@@ -529,7 +529,7 @@ public final class AbilityFactoryReveal {
|
||||
if (!andOrValid.equals("")) {
|
||||
andOrCards.remove(chosen);
|
||||
if (!chosen.isValid(andOrValid.split(","), host.getController(), host)) {
|
||||
valid = andOrCards;
|
||||
valid = new CardList(andOrCards);
|
||||
} else if (!chosen.isValid(changeValid.split(","), host.getController(), host)) {
|
||||
valid.removeAll(andOrCards);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user