diff --git a/Mage/src/main/java/mage/abilities/effects/ContinuousEffectsList.java b/Mage/src/main/java/mage/abilities/effects/ContinuousEffectsList.java index 803cdc5bc1..6dd37673e0 100644 --- a/Mage/src/main/java/mage/abilities/effects/ContinuousEffectsList.java +++ b/Mage/src/main/java/mage/abilities/effects/ContinuousEffectsList.java @@ -210,7 +210,7 @@ public class ContinuousEffectsList extends ArrayList public void removeEffects(UUID effectIdToRemove, Set abilitiesToRemove) { Set abilities = effectAbilityMap.get(effectIdToRemove); if (abilitiesToRemove != null && abilities != null) { - abilities.removeAll(abilitiesToRemove); + abilities.removeIf(ability -> abilitiesToRemove.stream().anyMatch(a -> a.isSameInstance(ability))); } if (abilities == null || abilities.isEmpty()) { for (Iterator iterator = this.iterator(); iterator.hasNext();) {