Skip to content

Commit

Permalink
chore(proxy): require explicitly setting velocity.command.info permis…
Browse files Browse the repository at this point in the history
…sion to true
  • Loading branch information
kashike committed Mar 7, 2025
1 parent 8f3dea5 commit f980037
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public static BrigadierCommand create(final VelocityServer server) {
.executes(new Heap())
.build();
final LiteralCommandNode<CommandSource> info = BrigadierCommand.literalArgumentBuilder("info")
.requires(source -> source.getPermissionValue("velocity.command.info") != Tristate.FALSE)
.requires(source -> source.getPermissionValue("velocity.command.info") == Tristate.TRUE)
.executes(new Info(server))
.build();
final LiteralCommandNode<CommandSource> plugins = BrigadierCommand
Expand Down

0 comments on commit f980037

Please sign in to comment.