mirror of
https://github.com/correl/mage.git
synced 2025-01-14 03:00:10 +00:00
Fixed tests
This commit is contained in:
parent
46e0af6cc2
commit
aaa92d5e46
2 changed files with 2 additions and 2 deletions
|
@ -70,7 +70,7 @@ public class Exile implements Serializable, Copyable<Exile> {
|
|||
return allCards.stream().filter(card -> filter.match(card, game)).collect(Collectors.toList());
|
||||
}
|
||||
|
||||
@Deprecated // TODO: must use related request due game range
|
||||
@Deprecated // TODO: must use related request due game range like getAllCardsByRange
|
||||
public List<Card> getAllCards(Game game) {
|
||||
return getAllCards(game, null);
|
||||
}
|
||||
|
|
|
@ -53,7 +53,7 @@ public class TargetCardInExile extends TargetCard {
|
|||
public Set<UUID> possibleTargets(UUID sourceControllerId, Ability source, Game game) {
|
||||
Set<UUID> possibleTargets = new HashSet<>();
|
||||
if (allExileZones) {
|
||||
for (Card card : game.getExile().getAllCards(game, sourceControllerId)) {
|
||||
for (Card card : game.getExile().getAllCardsByRange(game, sourceControllerId)) {
|
||||
if (filter.match(card, sourceControllerId, source, game)) {
|
||||
possibleTargets.add(card.getId());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue