From a4ced51058c4e63b8e97bf3c8f736d52feb0183f Mon Sep 17 00:00:00 2001 From: "Alex W. Jackson" Date: Fri, 24 Dec 2021 03:06:33 -0500 Subject: [PATCH] CardCriteria: fix subtype --- Mage/src/main/java/mage/cards/repository/CardCriteria.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage/src/main/java/mage/cards/repository/CardCriteria.java b/Mage/src/main/java/mage/cards/repository/CardCriteria.java index db817ce7e1..6ab85b4adf 100644 --- a/Mage/src/main/java/mage/cards/repository/CardCriteria.java +++ b/Mage/src/main/java/mage/cards/repository/CardCriteria.java @@ -264,7 +264,7 @@ public class CardCriteria { } for (SubType subType : subtypes) { - where.like("subtypes", new SelectArg('%' + subType.name() + '%')); + where.like("subtypes", new SelectArg('%' + subType.toString() + '%')); clausesCount++; }