mirror of
https://github.com/correl/mage.git
synced 2024-11-16 03:00:12 +00:00
NightCards metadata added to CardRepository on scan
This commit is contained in:
parent
1b3a51484e
commit
f0578942c6
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ public class CardScanner {
|
||||||
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())) {
|
||||||
Card card = CardImpl.createCard(c);
|
Card card = CardImpl.createCard(c);
|
||||||
if (card != null && !card.isNightCard()) {
|
if (card != null) {
|
||||||
cardsToAdd.add(new CardInfo(card));
|
cardsToAdd.add(new CardInfo(card));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue