Skip to content

Commit

Permalink
Issue 6277: Fixed the kick command so players (and bots) can be kicked
Browse files Browse the repository at this point in the history
  • Loading branch information
psikomonkie committed Dec 24, 2024
1 parent a211b3d commit e58399b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion megamek/src/megamek/server/commands/KickCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit e58399b

Please sign in to comment.