forked from External/mage
EnterBattlefieldEffect: Displaying overriden rule without additions
This commit is contained in:
parent
add5e7b685
commit
a8697ac0bd
1 changed files with 6 additions and 0 deletions
|
|
@ -133,11 +133,17 @@ public class Sets extends HashMap<String, ExpansionSet> {
|
|||
if (card.getCardType().contains(CardType.CREATURE)) {
|
||||
for (String type : card.getSubtype()) {
|
||||
creatureTypes.add(type);
|
||||
if (type.equals("")) {
|
||||
throw new IllegalStateException("Card with empty subtype: " + card.getName());
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!card.getCardType().contains(CardType.LAND)) nonLandNames.add(card.getName());
|
||||
}
|
||||
}
|
||||
if (creatureTypes.contains("")) {
|
||||
creatureTypes.remove("");
|
||||
}
|
||||
System.out.println("It took " + (System.currentTimeMillis() - t1) / 1000 + " ms to load all cards.");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue