mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +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("")) {
|
if (!andOrValid.equals("")) {
|
||||||
andOrCards.remove(chosen);
|
andOrCards.remove(chosen);
|
||||||
if (!chosen.isValid(andOrValid.split(","), host.getController(), host)) {
|
if (!chosen.isValid(andOrValid.split(","), host.getController(), host)) {
|
||||||
valid = andOrCards;
|
valid = new CardList(andOrCards);
|
||||||
} else if (!chosen.isValid(changeValid.split(","), host.getController(), host)) {
|
} else if (!chosen.isValid(changeValid.split(","), host.getController(), host)) {
|
||||||
valid.removeAll(andOrCards);
|
valid.removeAll(andOrCards);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user