From 940b44ef8185aea6711409638b629b690d4fc3f9 Mon Sep 17 00:00:00 2001 From: igoudt Date: Mon, 19 Jun 2017 01:57:28 +0200 Subject: [PATCH] fix wardSliver --- Mage.Sets/src/mage/cards/w/WardSliver.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Mage.Sets/src/mage/cards/w/WardSliver.java b/Mage.Sets/src/mage/cards/w/WardSliver.java index 6965735f4a..ecac1ae92a 100644 --- a/Mage.Sets/src/mage/cards/w/WardSliver.java +++ b/Mage.Sets/src/mage/cards/w/WardSliver.java @@ -27,7 +27,6 @@ */ package mage.cards.w; -import java.util.UUID; import mage.MageInt; import mage.ObjectColor; import mage.abilities.Ability; @@ -46,6 +45,8 @@ import mage.filter.predicate.mageobject.SubtypePredicate; import mage.game.Game; import mage.game.permanent.Permanent; +import java.util.UUID; + /** * * @author cbt33, noxx (Riders of Gavony) @@ -119,7 +120,7 @@ class WardSliverGainAbilityControlledEffect extends ContinuousEffectImpl { } } if (protectionFilter != null) { - for (Permanent perm: game.getBattlefield().getAllActivePermanents(filter, source.getControllerId(), game)) { + for (Permanent perm: game.getBattlefield().getAllActivePermanents(filter, game)) { perm.addAbility(new ProtectionAbility(protectionFilter), source.getSourceId(), game); } return true;