NightCards metadata added to CardRepository on scan

This commit is contained in:
North 2013-06-19 23:05:39 +03:00
parent 1b3a51484e
commit f0578942c6

View file

@ -59,7 +59,7 @@ public class CardScanner {
for (Class c : ClassScanner.findClasses(packages, CardImpl.class)) {
if (!CardRepository.instance.cardExists(c.getCanonicalName())) {
Card card = CardImpl.createCard(c);
if (card != null && !card.isNightCard()) {
if (card != null) {
cardsToAdd.add(new CardInfo(card));
}
}