mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 12:31:59 -08:00
CardCriteria: fix subtype
This commit is contained in:
parent
881fdcaa08
commit
a4ced51058
1 changed files with 1 additions and 1 deletions
|
|
@ -264,7 +264,7 @@ public class CardCriteria {
|
||||||
}
|
}
|
||||||
|
|
||||||
for (SubType subType : subtypes) {
|
for (SubType subType : subtypes) {
|
||||||
where.like("subtypes", new SelectArg('%' + subType.name() + '%'));
|
where.like("subtypes", new SelectArg('%' + subType.toString() + '%'));
|
||||||
clausesCount++;
|
clausesCount++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue