From 2740b0f9b4e9d8f8de9c097168cbdbb4c1fdef94 Mon Sep 17 00:00:00 2001 From: magenoxx Date: Wed, 16 Feb 2011 21:38:18 +0300 Subject: [PATCH] Compilation error fix. --- .../mage/target/common/TargetCreatureOrPlayer.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Mage/src/mage/target/common/TargetCreatureOrPlayer.java b/Mage/src/mage/target/common/TargetCreatureOrPlayer.java index 3be19022111..033bd88d5ce 100644 --- a/Mage/src/mage/target/common/TargetCreatureOrPlayer.java +++ b/Mage/src/mage/target/common/TargetCreatureOrPlayer.java @@ -112,18 +112,6 @@ public class TargetCreatureOrPlayer extends TargetImpl { return false; } - public boolean canTarget(UUID controllerId, UUID id, Ability source, Game game) { - Permanent permanent = game.getPermanent(id); - if (permanent != null) { - if (source != null) - //TODO: check for replacement effects - return permanent.canBeTargetedBy(game.getObject(source.getSourceId())) && filter.match(permanent, controllerId, game); - else - return filter.match(permanent, controllerId, game); - } - return false; - } - /** * Checks if there are enough {@link Permanent} or {@link Player} that can be chosen. Should only be used * for Ability targets since this checks for protection, shroud etc.