Skip to content

Commit cc0a833

Browse files
committed
chore: update categories of some rules
1 parent eff918d commit cc0a833

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/io/github/optijava/opt_carpet_addition/OptCarpetSettings.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ public class OptCarpetSettings {
220220

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

230230
@Rule(
231231
desc = "If enabled, command logger will broadcast commands to those players.",
232-
category = RuleCategory.COMMAND,
232+
category = {RuleCategory.COMMAND, RuleCategory.FEATURE},
233233
options = {"true", "false", "ops"}
234234
)
235235
public static String commandLoggerBroadcastToPlayer = FALSE;

0 commit comments

Comments
 (0)