mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
Update jars. BugCantFindCardInLibrary now works.
This commit is contained in:
parent
0980ca5948
commit
4d9493a256
6 changed files with 2 additions and 2 deletions
Binary file not shown.
|
|
@ -792,7 +792,7 @@ public class ComputerPlayer<T extends ComputerPlayer<T>> extends PlayerImpl<T> i
|
|||
|
||||
@Override
|
||||
public boolean choose(Outcome outcome, Choice choice, Game game) {
|
||||
log.debug("choose");
|
||||
log.debug("choose 3");
|
||||
//TODO: improve this
|
||||
choice.setChoice(choice.getChoices().iterator().next());
|
||||
return true;
|
||||
|
|
@ -823,7 +823,7 @@ public class ComputerPlayer<T extends ComputerPlayer<T>> extends PlayerImpl<T> i
|
|||
|
||||
@Override
|
||||
public boolean choose(Outcome outcome, Cards cards, TargetCard target, Game game) {
|
||||
log.debug("choose");
|
||||
log.debug("choose 2");
|
||||
if (cards != null && cards.isEmpty()) {
|
||||
if (!target.isRequired())
|
||||
return false;
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
BIN
Mage.Tests/plugins/mage-player-ai.jar
Normal file
BIN
Mage.Tests/plugins/mage-player-ai.jar
Normal file
Binary file not shown.
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue