refactor isAPermanentType to be less ugly

This commit is contained in:
Maxmtg
2014-01-29 16:59:06 +00:00
parent 5538480862
commit 0621f2e242
2 changed files with 37 additions and 33 deletions

View File

@@ -6793,7 +6793,7 @@ public class Card extends GameEntity implements Comparable<Card> {
}
for (final String type : this.getType()) {
if (forge.card.CardType.isAPermanentType(type) && c1.isType(type)) {
if (forge.card.CardType.CoreType.isAPermanentType(type) && c1.isType(type)) {
return true;
}
}