From 60c46b7c8edcdde71d329535bfba15c24d3302d7 Mon Sep 17 00:00:00 2001
From: Seth <13510767+zeroepoch1969@users.noreply.github.com>
Date: Wed, 27 Nov 2019 00:39:30 -0500
Subject: [PATCH] im gay
---
.idea/compiler.xml | 1 -
.../totalfreedommod/command/Command_verify.java | 12 ++++++------
2 files changed, 6 insertions(+), 7 deletions(-)
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);