Dieser Commit ist enthalten in:
Ursprung
24bfb12941
Commit
24a3885e2f
@ -112,6 +112,7 @@ public class PunishmentCommand {
|
||||
String group = matchResult.group(i);
|
||||
int amount = Integer.parseInt(group.substring(0, group.length() - 1));
|
||||
char unit = Character.toLowerCase(group.charAt(group.length() - 1));
|
||||
System.out.println("Amount: " + amount + " Unit: " + unit);
|
||||
switch (unit) {
|
||||
case 'h':
|
||||
instant = instant.plus(amount, ChronoUnit.HOURS);
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren