forked from External/mage
Game: fixed that search by card name was able to return a wrong card (example: cheat command)
This commit is contained in:
parent
6144dc64b7
commit
1dea98cf1f
13 changed files with 39 additions and 52 deletions
|
|
@ -68,7 +68,7 @@ public final class TournamentUtil {
|
|||
} else {
|
||||
criteria.ignoreSetsWithSnowLands();
|
||||
}
|
||||
criteria.rarities(Rarity.LAND).nameExact(landName);
|
||||
criteria.rarities(Rarity.LAND).name(landName);
|
||||
List<CardInfo> lands = CardRepository.instance.findCards(criteria);
|
||||
List<Card> cards = new ArrayList<>();
|
||||
if (!lands.isEmpty()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue