From 0936acacb79f3b038e363b915c401d581f485eae Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Wed, 20 Apr 2022 14:57:11 +0200 Subject: [PATCH] :bug: Check not Checking --- src/de/steamwar/bungeecore/commands/ArenaCommand.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/de/steamwar/bungeecore/commands/ArenaCommand.java b/src/de/steamwar/bungeecore/commands/ArenaCommand.java index 66caf9f..ff5e817 100644 --- a/src/de/steamwar/bungeecore/commands/ArenaCommand.java +++ b/src/de/steamwar/bungeecore/commands/ArenaCommand.java @@ -23,6 +23,7 @@ import de.steamwar.bungeecore.Message; import de.steamwar.bungeecore.Servertype; import de.steamwar.bungeecore.Subserver; import de.steamwar.bungeecore.SubserverSystem; +import de.steamwar.bungeecore.listeners.mods.ModLoaderBlocker; import de.steamwar.bungeecore.sql.Punishment; import de.steamwar.bungeecore.sql.SteamwarUser; import net.md_5.bungee.api.CommandSender; @@ -42,6 +43,11 @@ public class ArenaCommand extends BasicCommand { return; ProxiedPlayer player = (ProxiedPlayer) sender; + if(CheckCommand.isChecking(player)){ + Message.send("CHECK_CHECKING", player); + return; + } + SteamwarUser steamwarUser = SteamwarUser.get(player); if (steamwarUser.isPunishedWithMessage(player, Punishment.PunishmentType.NoFightServer)) { return;