- Fixed the AI hanging the game when trying to choose a source in absence of a creature in combat on the opponent's battlefield.

This commit is contained in:
Agetian
2018-04-20 07:13:25 +03:00
parent 6bb66646b8
commit a1a7390d80
2 changed files with 40 additions and 6 deletions

View File

@@ -61,7 +61,7 @@ public final class CardPredicates {
return new Predicate<Card>() {
@Override
public boolean apply(final Card c) {
return c.getOwner().equals(p);
return p.equals(c.getOwner());
}
};
}