forked from External/mage
change subtype.contains() to hasSubtype()
This commit is contained in:
parent
a316fe508f
commit
b12b0e29b8
94 changed files with 250 additions and 277 deletions
|
|
@ -50,7 +50,7 @@ public enum EquippedSourceCondition implements Condition {
|
|||
if (permanent != null) {
|
||||
for (UUID uuid : permanent.getAttachments()) {
|
||||
Permanent attached = game.getBattlefield().getPermanent(uuid);
|
||||
if (attached != null && attached.getSubtype(game).contains(SubType.EQUIPMENT)) {
|
||||
if (attached != null && attached.hasSubtype(SubType.EQUIPMENT, game)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue