From b7a22aa28370ced96ceb1cec5b71cc13901b576a Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Sat, 15 Jun 2013 00:24:10 +0200 Subject: [PATCH] * Sovereigns of Lost Alara - Fixed a bug that the effect attaching the aura to the attacking creature throws an error. --- Mage/src/mage/abilities/effects/ContinuousEffects.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage/src/mage/abilities/effects/ContinuousEffects.java b/Mage/src/mage/abilities/effects/ContinuousEffects.java index c303731c9f..ac0be0c613 100644 --- a/Mage/src/mage/abilities/effects/ContinuousEffects.java +++ b/Mage/src/mage/abilities/effects/ContinuousEffects.java @@ -399,7 +399,7 @@ public class ContinuousEffects implements Serializable { ReplacementEffect entry = it1.next(); if (consumed.containsKey(entry.getId())) { HashSet consumedAbilitiesIds = consumed.get(entry.getId()); - if (consumedAbilitiesIds.size() == ((HashSet) rEffects.get(entry)).size()) { + if (rEffects.get(entry) == null || consumedAbilitiesIds.size() == ((HashSet) rEffects.get(entry)).size()) { it1.remove(); } else { Iterator it = ((HashSet) rEffects.get(entry)).iterator();