mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 21:12:04 -08:00
XMage 1.4.23V2
This commit is contained in:
parent
74dd2878ed
commit
900e7b29ba
4 changed files with 74 additions and 43 deletions
|
|
@ -58,7 +58,7 @@ public enum CardRepository {
|
|||
// raise this if db structure was changed
|
||||
private static final long CARD_DB_VERSION = 51;
|
||||
// raise this if new cards were added to the server
|
||||
private static final long CARD_CONTENT_VERSION = 76;
|
||||
private static final long CARD_CONTENT_VERSION = 77;
|
||||
private final TreeSet<String> landTypes = new TreeSet<>();
|
||||
private Dao<CardInfo, Object> cardDao;
|
||||
private Set<String> classNames;
|
||||
|
|
@ -419,7 +419,7 @@ public enum CardRepository {
|
|||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
public CardInfo findCardWPreferredSet(String name, String expansion, boolean caseInsensitive) {
|
||||
List<CardInfo> cards;
|
||||
if (caseInsensitive) {
|
||||
|
|
@ -436,7 +436,7 @@ public enum CardRepository {
|
|||
}
|
||||
}
|
||||
return findPreferedCoreExpansionCard(name, true);
|
||||
}
|
||||
}
|
||||
|
||||
public List<CardInfo> findCards(String name) {
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue