forked from External/mage
added addCardType to MageObject
This commit is contained in:
parent
cf6fe27f7d
commit
8b90f87af6
52 changed files with 72 additions and 72 deletions
|
|
@ -138,7 +138,7 @@ public interface MageObject extends MageItem, Serializable {
|
|||
}
|
||||
|
||||
default void addCardType(CardType cardType) {
|
||||
getCardType().add(cardType);
|
||||
addCardType(cardType);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -186,4 +186,7 @@ public interface MageObject extends MageItem, Serializable {
|
|||
return false;
|
||||
}
|
||||
|
||||
default void addCardTypes(EnumSet<CardType> cardType){
|
||||
getCardType().addAll(cardType);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue