From e0bead005a961ecf6509542176710093782d0722 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Mon, 14 May 2018 11:43:15 -0400 Subject: [PATCH] fixed Dissipation Field returning creatures that have left the battlefield --- Mage.Sets/src/mage/cards/d/DissipationField.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Mage.Sets/src/mage/cards/d/DissipationField.java b/Mage.Sets/src/mage/cards/d/DissipationField.java index 592643e672..58a8eff315 100644 --- a/Mage.Sets/src/mage/cards/d/DissipationField.java +++ b/Mage.Sets/src/mage/cards/d/DissipationField.java @@ -47,8 +47,7 @@ import mage.target.targetpointer.FixedTarget; public class DissipationField extends CardImpl { public DissipationField(UUID ownerId, CardSetInfo setInfo) { - super(ownerId,setInfo,new CardType[]{CardType.ENCHANTMENT},"{2}{U}{U}"); - + super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{2}{U}{U}"); // Whenever a permanent deals damage to you, return it to its owner's hand. this.addAbility(new DissipationFieldAbility()); @@ -89,7 +88,7 @@ class DissipationFieldAbility extends TriggeredAbilityImpl { if (event.getTargetId().equals(this.controllerId)) { Permanent permanent = game.getPermanent(event.getSourceId()); if (permanent != null) { - this.getEffects().get(0).setTargetPointer(new FixedTarget(permanent.getId())); + this.getEffects().get(0).setTargetPointer(new FixedTarget(permanent, game)); return true; } }