From f81af16fa47740beee5c2083368f259fc77a1463 Mon Sep 17 00:00:00 2001 From: emerald000 Date: Thu, 17 Jul 2014 17:21:59 -0400 Subject: [PATCH] [FIX] Fixed Yixlid Jailer not removing certain abilities. --- Mage.Sets/src/mage/sets/futuresight/YixlidJailer.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Mage.Sets/src/mage/sets/futuresight/YixlidJailer.java b/Mage.Sets/src/mage/sets/futuresight/YixlidJailer.java index 685f66d1a5..3017067005 100644 --- a/Mage.Sets/src/mage/sets/futuresight/YixlidJailer.java +++ b/Mage.Sets/src/mage/sets/futuresight/YixlidJailer.java @@ -29,6 +29,7 @@ package mage.sets.futuresight; import java.util.UUID; import mage.MageInt; +import mage.abilities.Abilities; import mage.abilities.Ability; import mage.abilities.common.SimpleStaticAbility; import mage.abilities.effects.ContinuousEffectImpl; @@ -103,6 +104,10 @@ class YixlidJailerEffect extends ContinuousEffectImpl { card.getAbilities().clear(); game.getContinuousEffects().removeGainedEffectsForSource(card.getId()); game.getState().resetTriggersForSourceId(card.getId()); + Abilities abilities = game.getState().getAllOtherAbilities(card.getId()); + if (abilities != null) { + abilities.clear(); + } } } }