From e58399b65cc8d186bcf0b746d42e2defec6aae48 Mon Sep 17 00:00:00 2001 From: psikomonkie <189469115+psikomonkie@users.noreply.github.com> Date: Tue, 24 Dec 2024 14:49:55 -0500 Subject: [PATCH] Issue 6277: Fixed the kick command so players (and bots) can be kicked --- megamek/src/megamek/server/commands/KickCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/megamek/src/megamek/server/commands/KickCommand.java b/megamek/src/megamek/server/commands/KickCommand.java index 71c51fe4c80..338334c6837 100644 --- a/megamek/src/megamek/server/commands/KickCommand.java +++ b/megamek/src/megamek/server/commands/KickCommand.java @@ -56,7 +56,7 @@ protected boolean preRun(int connId) { @Override protected void runCommand(int connId, Arguments args) { - var kickedId = (int) args.get("playerId").getValue(); + var kickedId = (int) args.get("playerID").getValue(); var passwordOpt = (OptionalPasswordArgument) args.get("password"); if (serverPasswordCheckFailed(connId, passwordOpt)) {