mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +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)) {
|
||||
if (!CardRepository.instance.cardExists(c.getCanonicalName())) {
|
||||
Card card = CardImpl.createCard(c);
|
||||
if (card != null && !card.isNightCard()) {
|
||||
if (card != null) {
|
||||
cardsToAdd.add(new CardInfo(card));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue