fix server build

This commit is contained in:
Loki 2011-10-23 18:49:32 +04:00
parent e70ea7eaa8
commit db30dbd5d6

View file

@ -409,10 +409,10 @@ public class ComputerPlayer<T extends ComputerPlayer<T>> extends PlayerImpl<T> i
}
List<Permanent> targets;
if (outcome.isGood()) {
targets = threats(playerId, FilterCreaturePermanent.getDefault(), game);
targets = threats(playerId, new FilterCreaturePermanent(), game);
}
else {
targets = threats(opponentId, FilterCreaturePermanent.getDefault(), game);
targets = threats(opponentId, new FilterCreaturePermanent(), game);
}
for (Permanent permanent: targets) {
if (target.canTarget(permanent.getId(), source, game)) {