diff --git a/server/src/main/java/dev/plex/command/impl/BanCMD.java b/server/src/main/java/dev/plex/command/impl/BanCMD.java index 05d59c0..39edc80 100644 --- a/server/src/main/java/dev/plex/command/impl/BanCMD.java +++ b/server/src/main/java/dev/plex/command/impl/BanCMD.java @@ -68,12 +68,12 @@ public class BanCMD extends PlexCommand { reason = StringUtils.join(args, " ", 1, args.length); String newReason = StringUtils.normalizeSpace(reason.replace("-nrb", "")); - punishment.setReason(newReason.trim().isEmpty() ? "No reason provided." : newReason); + punishment.setReason(newReason.trim().isEmpty() ? messageString("noReasonProvided") : newReason); rollBack = !reason.startsWith("-nrb") && !reason.endsWith("-nrb"); } else { - punishment.setReason("No reason provided."); + punishment.setReason(messageString("noReasonProvided")); } punishment.setPunishedUsername(plexPlayer.getName()); ZonedDateTime date = ZonedDateTime.now(ZoneId.of(TimeUtils.TIMEZONE));