From a33f2d1af5df67295a1993b890e1dac28956478b Mon Sep 17 00:00:00 2001 From: riku6460 <17585784+riku6460@users.noreply.github.com> Date: Sun, 1 Dec 2024 19:31:44 +0900 Subject: [PATCH] Fix callback command not working (#1464) Broken in https://github.com/PaperMC/Velocity/commit/2016d1482f185daf4b92b6775fb4a8d2ef1e0da3#diff-1217e64751ab6522195a858620cceeb4f2d2b6506c36dd4e396726ad3e7ef0cb --- .../src/main/java/com/velocitypowered/proxy/VelocityServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/src/main/java/com/velocitypowered/proxy/VelocityServer.java b/proxy/src/main/java/com/velocitypowered/proxy/VelocityServer.java index cecc440c9..8b5d4d3d7 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/VelocityServer.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/VelocityServer.java @@ -253,7 +253,7 @@ public class VelocityServer implements ProxyServer, ForwardingAudience { commandManager.metaBuilder(callbackCommand) .plugin(VelocityVirtualPlugin.INSTANCE) .build(), - velocityParentCommand + callbackCommand ); final BrigadierCommand serverCommand = ServerCommand.create(this); commandManager.register(