From 7720301fa7fd4f2eedf630e453ec875b22ba3328 Mon Sep 17 00:00:00 2001 From: magenoxx Date: Thu, 7 Aug 2014 09:25:23 +0400 Subject: [PATCH] Fixed Abrubt Decay could be countered by Kira, Great Glass-Spinner's ability --- .../abilities/effects/common/CantCounterSourceEffect.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Mage/src/mage/abilities/effects/common/CantCounterSourceEffect.java b/Mage/src/mage/abilities/effects/common/CantCounterSourceEffect.java index 03c5bd2f6e9..6b9bae6250e 100644 --- a/Mage/src/mage/abilities/effects/common/CantCounterSourceEffect.java +++ b/Mage/src/mage/abilities/effects/common/CantCounterSourceEffect.java @@ -28,7 +28,6 @@ package mage.abilities.effects.common; -import java.util.UUID; import mage.abilities.Ability; import mage.abilities.effects.ContinuousRuleModifiyingEffectImpl; import mage.cards.Card; @@ -38,6 +37,8 @@ import mage.game.Game; import mage.game.events.GameEvent; import mage.game.events.GameEvent.EventType; +import java.util.UUID; + /** * * @author BetaSteward_at_googlemail.com @@ -68,7 +69,7 @@ public class CantCounterSourceEffect extends ContinuousRuleModifiyingEffectImpl if (event.getType() == EventType.COUNTER) { Card card = game.getCard(source.getSourceId()); if (card != null) { - UUID spellId = card.getSpellAbility().getId(); + UUID spellId = card.getSpellAbility().getSourceId(); if (event.getTargetId().equals(spellId)) { return true; }