mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
"random" is considered a valid Predicate
This commit is contained in:
@@ -226,7 +226,7 @@ public final class BoosterUtils {
|
||||
*
|
||||
*/
|
||||
public static Predicate<CardRules> parseRulesLimitation(final String input) {
|
||||
if (null == input)
|
||||
if (null == input || "random".equalsIgnoreCase(input))
|
||||
return Predicates.alwaysTrue();
|
||||
|
||||
if (input.equalsIgnoreCase("black")) {
|
||||
|
||||
Reference in New Issue
Block a user