mirror of
https://github.com/magefree/mage.git
synced 2025-12-28 22:42:03 -08:00
Minor fix to target handlling.
This commit is contained in:
parent
af4a40d5d5
commit
c2ee9ef4ad
1 changed files with 1 additions and 1 deletions
|
|
@ -368,7 +368,7 @@ public class ComputerPlayer extends PlayerImpl implements Player {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!target.isRequired(sourceId, game)) {
|
if (!target.isRequired(sourceId, game) || target.getNumberOfTargets() == 0) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (target.canTarget(opponentId, null, game)) {
|
if (target.canTarget(opponentId, null, game)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue