diff --git a/Mage/src/main/java/mage/cards/repository/CardRepository.java b/Mage/src/main/java/mage/cards/repository/CardRepository.java index 52b3cac6db..55c4f6678b 100644 --- a/Mage/src/main/java/mage/cards/repository/CardRepository.java +++ b/Mage/src/main/java/mage/cards/repository/CardRepository.java @@ -206,7 +206,7 @@ public enum CardRepository { try { QueryBuilder qb = cardDao.queryBuilder(); qb.distinct().selectColumns("name", "modalDoubleFacesSecondSideName", "secondSideName", "flipCardName"); - Where where = qb.where(); + Where where = qb.where(); where.and( where.not().like("supertypes", '%' + SuperType.BASIC.name() + '%'), where.like("types", '%' + CardType.LAND.name() + '%') @@ -278,7 +278,7 @@ public enum CardRepository { try { QueryBuilder qb = cardDao.queryBuilder(); qb.distinct().selectColumns("name", "modalDoubleFacesSecondSideName", "secondSideName", "flipCardName"); - Where where = qb.where(); + Where where = qb.where(); where.and( where.not().like("types", '%' + CardType.CREATURE.name() + '%'), where.not().like("types", '%' + CardType.LAND.name() + '%') @@ -298,7 +298,7 @@ public enum CardRepository { try { QueryBuilder qb = cardDao.queryBuilder(); qb.distinct().selectColumns("name", "modalDoubleFacesSecondSideName", "secondSideName", "flipCardName"); - Where where = qb.where(); + Where where = qb.where(); where.and( where.not().like("types", '%' + CardType.ARTIFACT.name() + '%'), where.not().like("types", '%' + CardType.LAND.name() + '%')