From 619096cbbdf64e79b181c3aac37fbc49e709992c Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Wed, 24 Apr 2019 12:22:02 -0400 Subject: [PATCH] fixed Dovin, Hand of Control's static ability not applying --- Mage.Sets/src/mage/cards/d/DovinHandOfControl.java | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Mage.Sets/src/mage/cards/d/DovinHandOfControl.java b/Mage.Sets/src/mage/cards/d/DovinHandOfControl.java index 52d646b5d0..734bef43bd 100644 --- a/Mage.Sets/src/mage/cards/d/DovinHandOfControl.java +++ b/Mage.Sets/src/mage/cards/d/DovinHandOfControl.java @@ -75,12 +75,9 @@ class DovinHandOfControlEffect extends CostModificationEffectImpl { @Override public boolean applies(Ability abilityToModify, Ability source, Game game) { - Card card = game.getCard(abilityToModify.getId()); - if (card == null || (!card.isInstantOrSorcery() && !card.isArtifact()) - || game.getOpponents(source.getControllerId()).contains(abilityToModify.getControllerId())) { - return false; - } - return true; + Card card = game.getCard(abilityToModify.getSourceId()); + return card != null && (card.isInstantOrSorcery() || card.isArtifact()) + && game.getOpponents(source.getControllerId()).contains(abilityToModify.getControllerId()); } @Override