Merge branch 'master' into 1.16
This commit is contained in:
commit
fb29177d5d
4 files changed
+10
-7
No files matched your search
@@ -61,9 +61,12 @@ public final class ParsedRule<T> implements Comparable<ParsedRule> {
|
||||
{
|
||||
this.options = ImmutableList.copyOf(rule.options());
|
||||
}
|
||||
else if (this.type == boolean.class || (this.type == String.class && categories.contains(RuleCategory.COMMAND)))
|
||||
else if (this.type == boolean.class){
|
||||
this.options = ImmutableList.of("true","false");
|
||||
}
|
||||
else if(this.type == String.class && categories.contains(RuleCategory.COMMAND))
|
||||
{
|
||||
this.options = ImmutableList.of("true", "false");
|
||||
this.options = ImmutableList.of("true", "false", "ops");
|
||||
}
|
||||
else if (this.type.isEnum())
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user