fix improper use of getSubtype not working with changelings (see #13640)

This commit is contained in:
xenohedron 2025-05-22 00:02:10 -04:00 committed by Failure
parent bec0fad877
commit 91ff345e1d
13 changed files with 16 additions and 20 deletions

View file

@ -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);