mirror of
https://github.com/correl/mage.git
synced 2025-03-07 20:53:18 -10:00
fix server build
This commit is contained in:
parent
e70ea7eaa8
commit
db30dbd5d6
1 changed files with 2 additions and 2 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue