mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
db: fixed not working sets update on server's start
This commit is contained in:
parent
67507fed67
commit
7d9d037416
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ public final class CardScanner {
|
||||||
|| expansionInfo.boosters != set.hasBoosters()
|
|| expansionInfo.boosters != set.hasBoosters()
|
||||||
|| expansionInfo.basicLands != set.hasBasicLands()) {
|
|| expansionInfo.basicLands != set.hasBasicLands()) {
|
||||||
// need update
|
// need update
|
||||||
setsToUpdate.add(expansionInfo);
|
setsToUpdate.add(new ExpansionInfo(set));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ExpansionRepository.instance.saveSets(setsToAdd, setsToUpdate, ExpansionRepository.instance.getContentVersionConstant());
|
ExpansionRepository.instance.saveSets(setsToAdd, setsToUpdate, ExpansionRepository.instance.getContentVersionConstant());
|
||||||
|
|
Loading…
Reference in a new issue