mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
Fixed a bug where the expansion repository version was set.
This commit is contained in:
parent
c0689ec675
commit
b1427f6066
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ public class CardScanner {
|
||||||
packages.add(set.getPackageName());
|
packages.add(set.getPackageName());
|
||||||
ExpansionRepository.instance.add(new ExpansionInfo(set));
|
ExpansionRepository.instance.add(new ExpansionInfo(set));
|
||||||
}
|
}
|
||||||
ExpansionRepository.instance.setContentVersion(CardRepository.instance.getContentVersionConstant());
|
ExpansionRepository.instance.setContentVersion(ExpansionRepository.instance.getContentVersionConstant());
|
||||||
|
|
||||||
for (Class c : ClassScanner.findClasses(packages, CardImpl.class)) {
|
for (Class c : ClassScanner.findClasses(packages, CardImpl.class)) {
|
||||||
if (!CardRepository.instance.cardExists(c.getCanonicalName())) {
|
if (!CardRepository.instance.cardExists(c.getCanonicalName())) {
|
||||||
|
|
Loading…
Reference in a new issue