FIXED Sneaky bug that capped art index in DB requests to one digit!

(Added tests in cardDb and CardRequest to cover the case!)
This commit is contained in:
leriomaggio
2021-08-26 02:47:35 +01:00
parent fed48e01c2
commit 3acf7384e3
3 changed files with 18 additions and 1 deletions

View File

@@ -142,7 +142,7 @@ public final class CardDb implements ICardDatabase, IDeckGenPool {
}
private static boolean isArtIndex(String s) {
return StringUtils.isNumeric(s) && s.length() == 1;
return StringUtils.isNumeric(s);
}
private static boolean isSetCode(String s) {