mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +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) {
|
public static Predicate<CardRules> parseRulesLimitation(final String input) {
|
||||||
if (null == input)
|
if (null == input || "random".equalsIgnoreCase(input))
|
||||||
return Predicates.alwaysTrue();
|
return Predicates.alwaysTrue();
|
||||||
|
|
||||||
if (input.equalsIgnoreCase("black")) {
|
if (input.equalsIgnoreCase("black")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user