mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user