From afd8b55fb52daa36e59f10b3ceb1fa953c29c485 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 26f99ecd2..7904a06a0 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")