forked from External/mage
fix improper use of getSubtype not working with changelings (see #13640)
This commit is contained in:
parent
bec0fad877
commit
91ff345e1d
13 changed files with 16 additions and 20 deletions
|
|
@ -77,16 +77,12 @@ public interface MageObject extends MageItem, Serializable, Copyable<MageObject>
|
|||
|
||||
/**
|
||||
* Return original object's subtypes
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
SubTypes getSubtype();
|
||||
|
||||
/**
|
||||
* Return full subtypes list (from object, from effects)
|
||||
*
|
||||
* @param game
|
||||
* @return
|
||||
* Return full subtypes list (from object, from effects).
|
||||
* Don't use this to check if an object has a subtype, use hasSubtype for that which accounts for changelings
|
||||
*/
|
||||
SubTypes getSubtype(Game game);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue