EnterBattlefieldEffect: Displaying overriden rule without additions

This commit is contained in:
magenoxx 2012-06-12 12:53:31 +04:00
parent add5e7b685
commit a8697ac0bd

View file

@ -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.");
}
}