mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
refactor isAPermanentType to be less ugly
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user