From 073e4f7748ebd4743823aa40fd65e3989bc8dab8 Mon Sep 17 00:00:00 2001 From: jeffwadsworth <> Date: Mon, 4 Feb 2013 12:05:06 -0600 Subject: [PATCH] - Fixed Jace's Phantasm. --- .../condition/common/CardsInOpponentGraveCondition.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Mage/src/mage/abilities/condition/common/CardsInOpponentGraveCondition.java b/Mage/src/mage/abilities/condition/common/CardsInOpponentGraveCondition.java index 619fc07cd3c..6c825961335 100644 --- a/Mage/src/mage/abilities/condition/common/CardsInOpponentGraveCondition.java +++ b/Mage/src/mage/abilities/condition/common/CardsInOpponentGraveCondition.java @@ -21,10 +21,10 @@ public class CardsInOpponentGraveCondition implements Condition { @Override public boolean apply(Game game, Ability source) { - Player p = game.getPlayer(source.getControllerId()); - if (p != null) { - for (UUID oppId : p.getInRange()) { - Player opponent = game.getPlayer(oppId); + Player player = game.getPlayer(source.getControllerId()); + if (player != null) { + for (UUID playerId : game.getOpponents(source.getControllerId())) { + Player opponent = game.getPlayer(playerId); if (opponent != null && opponent.getGraveyard().size() >= value) return true; }