mirror of
https://github.com/correl/mage.git
synced 2024-11-14 19:19:32 +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.basicLands != set.hasBasicLands()) {
|
||||
// need update
|
||||
setsToUpdate.add(expansionInfo);
|
||||
setsToUpdate.add(new ExpansionInfo(set));
|
||||
}
|
||||
}
|
||||
ExpansionRepository.instance.saveSets(setsToAdd, setsToUpdate, ExpansionRepository.instance.getContentVersionConstant());
|
||||
|
|
Loading…
Reference in a new issue