mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 20:41:58 -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;
|
||||
}
|
||||
}
|
||||
if (!target.isRequired(sourceId, game)) {
|
||||
if (!target.isRequired(sourceId, game) || target.getNumberOfTargets() == 0) {
|
||||
return false;
|
||||
}
|
||||
if (target.canTarget(opponentId, null, game)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue