From 5875d71937b2cdb2b5970e787e6cf2298acc6199 Mon Sep 17 00:00:00 2001 From: booky10 <53302036+booky10@users.noreply.github.com> Date: Fri, 10 May 2024 03:56:03 +0200 Subject: [PATCH] Fix permission for velocity dump command (#1318) --- .../velocitypowered/proxy/command/builtin/VelocityCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/src/main/java/com/velocitypowered/proxy/command/builtin/VelocityCommand.java b/proxy/src/main/java/com/velocitypowered/proxy/command/builtin/VelocityCommand.java index 26f99ecd22..7904a06a0e 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/command/builtin/VelocityCommand.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/command/builtin/VelocityCommand.java @@ -74,7 +74,7 @@ public final class VelocityCommand { @SuppressWarnings("checkstyle:MissingJavadocMethod") public static BrigadierCommand create(final VelocityServer server) { final LiteralCommandNode dump = BrigadierCommand.literalArgumentBuilder("dump") - .requires(source -> source.getPermissionValue("velocity.command.plugins") == Tristate.TRUE) + .requires(source -> source.getPermissionValue("velocity.command.dump") == Tristate.TRUE) .executes(new Dump(server)) .build(); final LiteralCommandNode heap = BrigadierCommand.literalArgumentBuilder("heap")