From 24a3885e2fec38d506dc97751d0bfebd902971dc Mon Sep 17 00:00:00 2001 From: yoyosource Date: Tue, 1 Nov 2022 22:54:51 +0100 Subject: [PATCH] Hotfix PunishmentCommand --- src/de/steamwar/bungeecore/commands/PunishmentCommand.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/de/steamwar/bungeecore/commands/PunishmentCommand.java b/src/de/steamwar/bungeecore/commands/PunishmentCommand.java index c147ba1..40d39fd 100644 --- a/src/de/steamwar/bungeecore/commands/PunishmentCommand.java +++ b/src/de/steamwar/bungeecore/commands/PunishmentCommand.java @@ -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);