Minor clean up

This commit is contained in:
Focusvity
2023-03-08 22:45:47 +11:00
parent e39f882ea7
commit 77be23faf0
17 changed files with 59 additions and 31 deletions

View File

@ -56,9 +56,9 @@ public class KickCMD extends PlexCommand
if (args.length > 1)
{
reason = StringUtils.join(args, " ", 1, args.length);
punishment.setReason(reason);
}
punishment.setReason(reason);
punishment.setPunishedUsername(plexPlayer.getName());
punishment.setEndDate(ZonedDateTime.now(ZoneId.of(TimeUtils.TIMEZONE)));
punishment.setCustomTime(false);