Fixed a bug where the expansion repository version was set.

This commit is contained in:
LevelX2 2015-03-22 10:19:26 +01:00
parent c0689ec675
commit b1427f6066

View file

@ -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())) {