From 4af4619b44ece99265d62e90665f30f0f8215558 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Thu, 21 Feb 2013 00:16:49 +0100 Subject: [PATCH] Fixed a bug of Cast Through Time giving wrong id to triggered ability added to game. --- Mage.Sets/src/mage/sets/riseoftheeldrazi/CastThroughTime.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage.Sets/src/mage/sets/riseoftheeldrazi/CastThroughTime.java b/Mage.Sets/src/mage/sets/riseoftheeldrazi/CastThroughTime.java index b1b9623ae55..1d4fd43eb68 100644 --- a/Mage.Sets/src/mage/sets/riseoftheeldrazi/CastThroughTime.java +++ b/Mage.Sets/src/mage/sets/riseoftheeldrazi/CastThroughTime.java @@ -112,8 +112,8 @@ class GainReboundEffect extends ContinuousEffectImpl { } } if (!found) { - card.addAbility(new AttachedReboundAbility()); Ability ability = new AttachedReboundAbility(); + card.addAbility(ability); ability.setControllerId(source.getControllerId()); ability.setSourceId(card.getId()); game.getState().addAbility(ability, source.getSourceId(), card);