Skip to content

Commit

Permalink
chore: update categories of some rules
Browse files Browse the repository at this point in the history
  • Loading branch information
OptiJava committed Jul 30, 2024
1 parent eff918d commit cc0a833
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ public class OptCarpetSettings {

@Rule(
desc = "The rate limit of `/player xxx tp` command. Default: permit 1 request per 2 seconds per player.",
category = RuleCategory.FEATURE,
category = {RuleCategory.FEATURE, RuleCategory.COMMAND},
validate = PlayerTpRateLimitTimeValidator.class,
strict = false,
options = {"2"}
Expand All @@ -229,7 +229,7 @@ public class OptCarpetSettings {

@Rule(
desc = "If enabled, command logger will broadcast commands to those players.",
category = RuleCategory.COMMAND,
category = {RuleCategory.COMMAND, RuleCategory.FEATURE},
options = {"true", "false", "ops"}
)
public static String commandLoggerBroadcastToPlayer = FALSE;
Expand Down

0 comments on commit cc0a833

Please sign in to comment.