diff --git a/.idea/compiler.xml b/.idea/compiler.xml index 6467f80c..8c6ab777 100644 --- a/.idea/compiler.xml +++ b/.idea/compiler.xml @@ -7,7 +7,6 @@ - diff --git a/src/main/java/me/totalfreedom/totalfreedommod/command/Command_verify.java b/src/main/java/me/totalfreedom/totalfreedommod/command/Command_verify.java index beee0d43..24c5ff70 100644 --- a/src/main/java/me/totalfreedom/totalfreedommod/command/Command_verify.java +++ b/src/main/java/me/totalfreedom/totalfreedommod/command/Command_verify.java @@ -22,12 +22,6 @@ public class Command_verify extends FreedomCommand @Override public boolean run(CommandSender sender, Player playerSender, Command cmd, String commandLabel, String[] args, boolean senderIsConsole) { - if (!plugin.dc.enabled) - { - msg("The Discord verification system is currently disabled", ChatColor.RED); - return true; - } - if (args.length == 1 && plugin.al.isAdmin(playerSender)) { @@ -56,6 +50,12 @@ public class Command_verify extends FreedomCommand } else { + if (!plugin.dc.enabled) + { + msg("The Discord verification system is currently disabled", ChatColor.RED); + return true; + } + if (senderIsConsole || plugin.al.isAdmin(playerSender)) { msg("/verify ", ChatColor.WHITE);