This commit is contained in:
Telesphoreo 2022-04-19 15:20:39 -05:00
parent 7d2a25668a
commit ee18ae324d

View File

@ -66,7 +66,7 @@ public class TempbanCMD extends PlexCommand
return messageComponent("playerBanned"); return messageComponent("playerBanned");
} }
Punishment punishment = new Punishment(targetUUID, getUUID(sender)); Punishment punishment = new Punishment(targetUUID, getUUID(sender));
punishment.setType(PunishmentType.BAN); punishment.setType(PunishmentType.TEMPBAN);
if (args.length > 2) if (args.length > 2)
{ {
reason = StringUtils.join(args, " ", 2, args.length); reason = StringUtils.join(args, " ", 2, args.length);