From 7bca348587f0317e2f2874f8497aa076d7bad9bf Mon Sep 17 00:00:00 2001 From: Taah Date: Mon, 15 Jan 2024 15:45:00 -0800 Subject: [PATCH] Show the same treatment for tempbans --- .../dev/plex/command/impl/TempbanCMD.java | 41 ++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) diff --git a/server/src/main/java/dev/plex/command/impl/TempbanCMD.java b/server/src/main/java/dev/plex/command/impl/TempbanCMD.java index 5e4c320..c9019dc 100644 --- a/server/src/main/java/dev/plex/command/impl/TempbanCMD.java +++ b/server/src/main/java/dev/plex/command/impl/TempbanCMD.java @@ -12,6 +12,7 @@ import dev.plex.punishment.Punishment; import dev.plex.punishment.PunishmentType; import dev.plex.util.BungeeUtil; +import dev.plex.util.PlexLog; import dev.plex.util.PlexUtils; import dev.plex.util.TimeUtils; import net.kyori.adventure.text.Component; @@ -22,6 +23,7 @@ import org.bukkit.entity.Player; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; +import java.util.Collections; import java.util.List; @CommandParameters(name = "tempban", usage = "/