Update KickCMD.java

This commit is contained in:
Deauthorized 2024-05-02 17:25:49 -04:00 committed by GitHub
parent bc163aa51a
commit 5a7a2c1835
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -38,7 +38,7 @@ public class KickCMD extends PlexCommand
} }
PlexPlayer plexPlayer = DataUtils.getPlayer(args[0]); PlexPlayer plexPlayer = DataUtils.getPlayer(args[0]);
String reason = "No reason provided"; String reason = messageString("noReasonProvided");
if (plexPlayer == null) if (plexPlayer == null)
{ {
@ -74,4 +74,4 @@ public class KickCMD extends PlexCommand
{ {
return args.length == 1 && silentCheckPermission(sender, this.getPermission()) ? PlexUtils.getPlayerNameList() : ImmutableList.of(); return args.length == 1 && silentCheckPermission(sender, this.getPermission()) ? PlexUtils.getPlayerNameList() : ImmutableList.of();
} }
} }