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)) {