mirror of
https://github.com/magefree/mage.git
synced 2026-01-25 04:39:18 -08:00
minor linting
This commit is contained in:
parent
50acfad59c
commit
663ada11d1
5 changed files with 6 additions and 17 deletions
|
|
@ -216,7 +216,7 @@ public class TargetCard extends TargetObject {
|
|||
|
||||
@Override
|
||||
public Set<UUID> possibleTargets(UUID sourceControllerId, Game game) {
|
||||
return possibleTargets(sourceControllerId, (Ability) null, game);
|
||||
return possibleTargets(sourceControllerId, null, game);
|
||||
}
|
||||
|
||||
public Set<UUID> possibleTargets(UUID sourceControllerId, Cards cards, Ability source, Game game) {
|
||||
|
|
|
|||
|
|
@ -96,11 +96,8 @@ public class TargetCardInExile extends TargetCard {
|
|||
}
|
||||
} else {
|
||||
ExileZone exileZone = game.getExile().getExileZone(zoneId);
|
||||
if (exileZone != null) {
|
||||
if (exileZone.count(filter, sourceControllerId, source, game) >= this.minNumberOfTargets) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return exileZone != null && exileZone.count(filter, sourceControllerId, source, game) >= this.minNumberOfTargets;
|
||||
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue