mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
- Fix for Blight causing a ConcurrentModificationException
This commit is contained in:
@@ -242,9 +242,10 @@ public class GameActionUtil {
|
||||
* Blight - When enchanted land becomes tapped, destroy it.
|
||||
*/
|
||||
if(c.isEnchantedBy("Blight")) {
|
||||
final ArrayList<Card> blights = c.getEnchantedBy();
|
||||
ArrayList<Card> blights = c.getEnchantedBy();
|
||||
final Card target = c;
|
||||
for(Card blight:blights) {
|
||||
for(int i = 0; i < blights.size(); i++) {
|
||||
Card blight = blights.get(i);
|
||||
if(blight.getName().equals("Blight")) {
|
||||
Ability ability = new Ability(blight, "0") {
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user